System and method for rule based modifications to variable slots based on context

ABSTRACT

Methods, programming, and system for modifying a slot value are described herein. In a non-limiting embodiment, an intent may be determined based on a first utterance. A first slot-value pair may be obtained for the first utterance based on the intent, the first slot-value pair including a first slot and a first value associated with the first slot. A second value associated with the first slot may be identified, the second value being identified from a second utterance that was previously received. Based on the intent and the first slot, a type of update to be performed with respect to the second value may be determined. The second value may then be updated based on the first value and the type of update.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application relates to commonly-assigned U.S. Patent ApplicationNo. ______ (Attorney Docket No. 046836-0456629), entitled “System andMethod for Identifying and Replacing Slots with Variable Slots,” beingfiled on the same day, and the disclosure of which is incorporated byreference herein in its entirety.

BACKGROUND 1. Technical Field

The present teaching generally relates to speech-processing and dialoguestate management. More specifically, the present teaching relates to asystem and method for identifying and replacing slots from an utterancewith variable slots. Furthermore, the presenting teaching relates to asystem and method for performing rule based modifications to variableslots based on context.

2. Technical Background

Automated conversation mechanisms often allow users to converse with anintelligent agent to perform simplistic tasks. For example, “chatbots,”or “conversational agents,” have been employed by many web-based systemsto enable users to quickly and easily obtain information, generallyconverse, and/or perform tasks. The latter—task-based conversations—areknown to be difficult to model between users and such conversationalagents. The reasoning is that a user's utterances, and thus specificintents (e.g., a task to be performed), may be complex. An additionallyreasoning is that it can be difficult to track a user's goals throughoutthe conversation in an intelligent manner.

When an utterance is received, whether it be from audio or text, theutterance is analyzed using natural language understanding (“NLU”)techniques to understand an intent of the utterance. NLU works toidentify slot-value pairs expressed in the utterance, where a slotcorresponds to an entity type, and a value is associated with that slot.For example, the utterance, “Call mom” may have an intent associatedwith performing a telephone call (or other communication means) with anentity: “mom.” In this particular utterance, one slot-value pair that isrecognized may be {Name: “mom”}.

However, traditional NLU techniques have difficulty in inferring updatesto the slots mentioned during each conversational turn. For example, thecontext associated with a first utterance between a user and aconversational agent may be difficult to track in relation to a second,subsequent utterance between the user and the conversational agent. Thisis because the typical NLU approach is to perform updates to slots witha “replace” function. With the replace function, a previous valueassociated with a slot is replaced with a new value associated with thatslot. This can fail to solve the problem associated with numeric slotsand slots having multiple values, as the replace function fails toaccurately update the dialogue state to reflect the implications of thenew utterance.

Thus, there is a need for methods and systems that accurately estimateupdates, and perform such updates, to slots for facilitating accuratedialogue-state management of user-agent conversations.

SUMMARY

The teachings disclosed herein relate to methods, systems, andprogramming for identifying and replacing slots with variable slots.More particularly, the present teaching relates to methods, systems, andprogramming related to identifying and replacing slots from an utterancewith at least one of multi-value slots and adjustable slots.Additionally, the present teachings disclosed herein relate to methods,systems, and programming for performing rule-based modifications tovariable slots based on context. More particularly, the present teachingrelates to methods, systems, and programming related to modifying atleast one of multi-value slots and adjustable slots based on context andone or more rules.

In one example, a method for identifying one or more variable slotswithin an utterance, implemented on a machine having at least oneprocessor, memory, and communications platform capable of connecting toa network, is described. The method may include obtaining a firstslot-value pair for a first utterance. The first slot-value pair mayinclude a first slot and a first value associated with the first slot.The first slot may be of a first entity type, where an intent and a dataobject may be estimated based on the first utterance. The method mayalso include identifying a data structure representing the data object.The method may further include determining, based on the intent, a firstvariable slot in the data structure associated with the first entitytype. The first variable slot may be associated with at least one of:multiple values and an adjustable value. The method may further stillinclude assigning, based on the intent, the first value to the firstvariable slot in the data structure.

Other concepts relate to software for implementing the present teachingon identifying one or more variable slots within an utterance. Asoftware product, in accord with this concept, includes at least onemachine-readable non-transitory medium and information and/orinstructions stored thereon. The instructions stored on the medium mayinclude executable program code data, parameters in association with theexecutable program code, and/or information related to a user, arequest, content, and/or information related to identifying one or morevariable slots within an utterance, etc.

In one example, a machine-readable, non-transitory and tangible mediumhaving instructions recorded thereon for identifying one or morevariable slots within an utterance is described. The instructions, whenexecuted by at least one processor of a computing device, may cause thecomputing device to obtain a first slot-value pair for a firstutterance, the first slot-value pair including a first slot and a firstvalue associated with the first slot, the first slot being of a firstentity type, where an intent and a data object are estimated based onthe first utterance; identify a data structure representing the dataobject; determine, based on the intent, a first variable slot in thedata structure associated with the first entity type, where the firstvariable slot is associated with at least one of: multiple values and anadjustable value; and assign, based on the intent, the first value tothe first variable slot in the data structure.

In a different example, a system for identifying one or more variableslots within an utterance is described. The system may include memoryand at least one processor. The at least one processor may be operableto obtain a first slot-value pair for a first utterance, the firstslot-value pair including a first slot and a first value associated withthe first slot, the first slot being of a first entity type, where anintent and a data object are estimated based on the first utterance;identify a data structure representing the data object; determine, basedon the intent, a first variable slot in the data structure associatedwith the first entity type, where the first variable slot is associatedwith at least one of: multiple values and an adjustable value; andassign, based on the intent, the first value to the first variable slotin the data structure.

In another example, a method for modifying a slot value, implemented ona machine having at least one processor, memory, and communicationsplatform capable of connecting to a network, is described. The methodmay include determining an intent based on a first utterance, where afirst slot-value pair may be obtained for the first utterance based onthe intent, the first slot-value pair including a first slot and a firstvalue associated with the first slot. The method may also includeidentifying a second value associated with the first slot, the secondvalue being identified from a second utterance that was previouslyreceived. The method may further include determining, based on theintent and the first slot, a type of update to be performed with respectto the second value, and updating the second value based on the firstvalue and the type of update.

Other concepts relate to software for implementing the present teachingon modifying a slot value. A software product, in accord with thisconcept, includes at least one machine-readable non-transitory mediumand information and/or instructions stored thereon. The instructionsstored on the medium may include executable program code data,parameters in association with the executable program code, and/orinformation related to a user, a request, content, and/or informationrelated to modifying a slot value, etc.

In one example, a machine-readable, non-transitory and tangible mediumhaving instructions recorded thereon for modifying a slot value isdescribed. The instructions, when executed by at least one processor ofa computing device, may cause the computing device to: determine anintent based on a first utterance, where a first slot-value pair isobtained for the first utterance based on the intent, the firstslot-value pair including a first slot and a first value associated withthe first slot; identify a second value associated with the first slot,the second value being identified from a second utterance that waspreviously received; determine, based on the intent and the first slot,a type of update to be performed with respect to the second value; andupdate the second value based on the first value and the type of update.

In still a different example, a system for modifying a slot value isdescribed. The system may include memory and at least one processor. Theat least one processor may be operable to: determine an intent based ona first utterance, where a first slot-value pair is obtained for thefirst utterance based on the intent, the first slot-value pair includinga first slot and a first value associated with the first slot; identifya second value associated with the first slot, the second value beingidentified from a second utterance that was previously received;determine, based on the intent and the first slot, a type of update tobe performed with respect to the second value; and update the secondvalue based on the first value and the type of update.

Additional novel features will be set forth in part in the descriptionthat follows, and in part will become apparent to those skilled in theart upon examination of the following and the accompanying drawings ormay be learned by production or operation of the examples. The novelfeatures of the present teachings may be realized and attained bypractice or use of various aspects of the methodologies,instrumentalities and combinations set forth in the detailed examplesdiscussed below.

BRIEF DESCRIPTION OF THE DRAWINGS

The methods, systems and/or programming described herein are furtherdescribed in terms of exemplary embodiments. These exemplary embodimentsare described in detail with reference to the drawings. Theseembodiments are non-limiting exemplary embodiments, in which likereference numerals represent similar structures throughout the severalviews of the drawings, and wherein:

FIGS. 1A and 1B are illustrative diagrams of exemplary networkenvironment for facilitating dialogue between a user operating a userdevice and a conversation management system, in accordance with variousembodiments of the present teaching;

FIG. 2A is an illustrative diagram of an exemplary conversationmanagement system, in accordance with various embodiments of the presentteaching;

FIG. 2B is an illustrative flowchart of an exemplary process foroutputting a response to an utterance, in accordance with variousembodiments of the present teaching;

FIGS. 3A-E are illustrative diagrams of an exemplary user-conversationmanagement system interaction including dialogue-state updates, inaccordance with various embodiments of the present teaching;

FIG. 4A is an illustrative diagram of an exemplary languageunderstanding system, in accordance with various embodiments of thepresent teaching;

FIG. 4B is an illustrative flowchart of an exemplary process foridentifying and outputting slot-value pair data representing one or moreslot-value pairs identified from an utterance, in accordance withvarious embodiments of the present teaching;

FIG. 5A is an illustrative diagram of an exemplary variable slot updatesystem, in accordance with various embodiments of the present teaching;

FIG. 5B is an illustrative flowchart of an exemplary process fordetermining update classification information for a slot-value pair, inaccordance with various embodiments of the present teaching;

FIG. 6A is an illustrative diagram of an exemplary context extractionsystem, in accordance with various embodiments of the present teaching;

FIG. 6B is an illustrative flowchart of an exemplary process fordetermining an utterance's context, in accordance with variousembodiments of the present teaching;

FIG. 7A is an illustrative diagram of an exemplary context determiner,in accordance with various embodiments of the present teaching;

FIG. 7B is an illustrative flowchart of an exemplary process forapplying one or more context rules, in accordance with variousembodiments of the present teaching;

FIG. 8A is an illustrative diagram of an exemplary dependency parsingsystem, in accordance with various embodiments of the present teaching;

FIG. 8B is an illustrative flowchart of an exemplary process forextracting a content of an utterance, in accordance with variousembodiments of the present teaching;

FIG. 9A is an illustrative diagram of an exemplary de-lexicalizationsystem, in accordance with various embodiments of the present teaching;

FIG. 9B is an illustrative flowchart of an exemplary processor forupdating a data structure, in accordance with various embodiments of thepresent teaching;

FIG. 10A is an illustrative diagram of an exemplary update determiner,in accordance with various embodiments of the present teaching;

FIG. 10B is an illustrative flowchart of an exemplary process forupdating an entry in a data structure, in accordance with variousembodiments of the present teaching;

FIG. 11A is an illustrative diagram of an exemplary response generationsystem, in accordance with various embodiments of the present teaching;

FIG. 11B is an illustrative flowchart of an exemplary process forgenerating output data, in accordance with various embodiments of thepresent teaching;

FIG. 12 is an illustrative diagram of an exemplary mobile devicearchitecture that may be used to realize a specialized systemimplementing the present teaching in accordance with variousembodiments; and

FIG. 13 is an illustrative diagram of an exemplary computing devicearchitecture that may be used to realize a specialized systemimplementing the present teaching in accordance with variousembodiments.

DETAILED DESCRIPTION

In the following detailed description, numerous specific details are setforth by way of examples in order to provide a thorough understanding ofthe relevant teachings. However, it should be apparent to those skilledin the art that the present teachings may be practiced without suchdetails. In other instances, well known methods, procedures, components,and/or circuitry have been described at a relatively high-level, withoutdetail, in order to avoid unnecessarily obscuring aspects of the presentteachings.

The present teaching aims to eliminate the limitation of the priortechnologies, and to track and manage a dialogue state between a userand a conversational agent. More specifically, the present teaching aimsto identify and perform updates to slots from slot-value pairsidentified within an utterance. In particular, the present teachingdescribes identifying variable slots within an utterance that arecapable of taking on at least one of multiple values and numeric values.

The present teaching generally relates to systems, methods, mediums, andother implementations directed to overcoming various limitations of theprior systems/methods, and in particular to managing a dialogue-statebetween a user and a conversational agent. In traditional dialogue-statemanagement, state updates are performed by replacing an old/previousvalue associated with a slot with a new value identified from a newutterance. As an illustrative example, consider the followingutterances, obtained by a dialogue state tracking system in succession:“Create an event for two people,” and “Add three people to the event.”Looking at the first utterance, the intent determined may be for a dataobject (e.g., an event”) to be created, and an entity type—number ofpeople—may be identified having a slot corresponding to the entity typeand an associated value, two. For instance, the intent may be {Intent:Create Event List}, and the slot-value pair may be {Number of People:2}. When the second utterance is looked at, the same entity—number ofpeople—is identified within the utterance, however having the value,three (e.g., {Number of People: 3}. In this particular scenario,standard NLU techniques may indicate that, because the utteranceincluded will a same entity type, the correspond slot value is to bereplaced with the new slot value. Therefore, using standard NLUtechniques, the number of people associated with the “event” may beincorrectly stored as being 3, when the correct value should be 5.

In order to overcome the aforementioned issues, the present teachingdescribes systems, methods, and programming for replacing single valueslots of slot-value pairs identified for an utterance with variableslots. A variable slot, as described herein, may include a multi-valueslot and/or an adjustable slot. A multi-value slot, as described herein,may correspond to a slot that is capable of being associated with one ormore values. For example, if a first utterance received was, “Make areservation for Jack and John,” an entity “name,” having a correspondingslot “Name,” may have the values “Jack” and “John” associated therewith(e.g., {Name: “Jack,” “John”). An adjustable slot, which may also bereferred to herein interchangeably as a numeric slot, may correspond toa slot whose value may be increased, decreased, and/or replaced. Forexample, using the aforementioned utterances—“Create an event for twopeople,” and “Add three people to the event,”—a numeric slot mayinitially have the value 2 (e.g., {Number of Guests: 2}), which may beincreased upon processing of the second utterance to the value 5 (e.g.,{Number of Guests: 5}).

As exemplified above, another aspect of the present teaching describessystems, methods, and programming for identifying a type of update to beperformed in associated with one or more variable slots of an utterance.In some embodiments, the type of update to be performed may include, butis not limited to, appending, removing, increasing, decreasing, and/orreplacing. Additionally, no update performed may also correspond to atype of update that is possible. An appending update may add a value asbeing associated with a slot. A removing update may remove a value frombeing associated with a slot. An increasing update may increase a valueassociated with a slot by a specified amount. A decreasing update maydecrease a value associated with a slot by a specified amount. Areplacing update may replace the value of a slot by a particular value.

Persons of ordinary skill in the art will recognize that theaforementioned and foregoing descriptions are not intended to belimiting, and instead are illustrative embodiments associated with thepresent teaching. Various additions and augmentations consistent withthat known to one of ordinary skill in the art are understood as beingwithin the spirit of the present disclosure.

FIGS. 1A and 1B are illustrative diagrams of exemplary networkenvironment for facilitating dialogue between a user operating a userdevice and a conversation management system, in accordance with variousembodiments of the present teaching. In FIG. 1A, an exemplary networkedenvironment 100 is described. Exemplary networked environment 100 mayinclude one or more user devices 110, such as user devices 110-a, 110-b,110-c, and 110-d, one or more content sources 160, a conversationmanagement system 140, one or more content providers 130, and a dialoguerules database 170, each of which may communicate with one another viaone or more networks 120.

Network(s) 120, in some embodiments, may correspond to a single networkor a combination of different networks. For example, network(s) 120 maybe a local area network (“LAN”), a wide area network (“WAN”), a publicnetwork, a private network, a proprietary network, a Public TelephoneSwitched Network (“PSTN”), the Internet, an intranet, a wirelessnetwork, a virtual network, and/or any combination thereof. In oneembodiment, network(s) 120 may also include various network accesspoints. For example, environment 100 may include wired and/or wirelessaccess points such as, and without limitation, base stations or Internetexchange points 120-a and 120-b. Base stations 120-a and 120-b mayfacilitate, for example, communications to/from user device(s) 110and/or conversation management system 140 with one another as well as,or alternatively, one or more other components of environment 100 acrossnetwork(s) 120.

User devices 110 may be of different types to facilitate one or moreusers operating user devices 110 to connect to network(s) 120. Userdevices 110 may correspond to any suitable type of electronic/computingdevice including, but not limited to, desktop computers 110-d, mobiledevices 110-c (e.g., mobile phones, smart phones, personal displaydevices, personal digital assistants (“PDAs”), gaming consoles/devices,wearable devices (e.g., watches, pins/broaches, headphones, etc.),transportation devices 110-b (e.g., cars, trucks, motorcycles, boats,ships, trains, airplanes), mobile computers 110-c (e.g., laptops,ultrabooks), smart devices (e.g., televisions, set top boxes, smarttelevisions), smart household devices (e.g., refrigerators, microwaves,etc.), and/or smart accessories (e.g., light bulbs, light switches,electrical switches, etc.). A user 102, in one embodiment, may send data(e.g., a request) and/or receive data (e.g., content) via user devices110. For example, user 102 may speak, type, or otherwise input anutterance to their user device 110, which in turn may be communicated toconversation management system 140 across network(s) 120.

Content providers 160 may include one or more content providers 160-1,160-2, and 160-3, in some embodiments. Although three content providersare shown within environment 100, any number of content providers may beincluded. Content providers 160 may correspond to any suitable contentsource, such as, and without limitation, an individual, a business, anorganization, and the like. For example, content providers 160 maycorrespond to a government website, a news site, a social media website,and/or a content feed source (e.g., a blog). In some embodiments,content providers 160 may be vertical content sources. Each contentsource 160 may be configured to generate and send content to one or moreof user devices 110 via network(s) 120. The content (e.g., a webpage)may include information consumable by user 102 via their user device110.

Content provider(s) 130 may correspond to one or more publishers thatpublish content and/or advertisements. For example, publishers 130 maybe configured to present content obtained from one or more of contentproviders 160. In some embodiments, publishers 130 may present one ormore advertisements thereon, which may be selected from an advertisementdatabase, an advertisement source, and/or any other suitable source. Insome embodiments, publishers 130 configured to provide product(s) and/orservice(s), and may be configured to handle the advertising process forits own product(s) and/or a service (e.g., websites, mobileapplications, etc.) related to advertising, or a combination thereof.For example, publishers 130 may include such systems as an advertisingagency or a dealer of advertisement that operates a platform thatconnects an advertiser or advertising agency one or more additionalentities.

Conversation management system 140, in some embodiments, may beconfigured to facilitate a dialogue with user 102 operating user device110. A dialogue may include one or more communications between userdevice 110 and conversation management system 140 including, but notlimited to, utterances, images, video, audio, and the like. In someembodiments, conversation management system 140 may be configured todetermine whether an utterance includes one or more variable slots, andmay replace single-valued slots with a variable slot. A variable slot,as described above and herein, may correspond to one or more of amulti-value slot and an adjustable slot. Therefore, conversationmanagement system 140 may be capable of performing an update to a valueassociated with a slot based on the type of update determined to beassociated with an intent of the utterance, as well as the previousvalue associated with that slot, a new value associated with that slot,and the type of update. Furthermore, conversation management system 140may access dialogue rules database 170 to identify and determine a typeof update to be performed based on one or more dialogue rules. Forinstance, the one or more dialogue rules may indicate how to identify acontext of an update, as well as how to identify the type of update tobe performed based on the context.

Networked environment 150 of FIG. 1B, in one illustrative embodiment,may be substantially similar to networked environment 100 of FIG. 1A,with the exception that conversation management system 140 may connectto content provider(s) 130 as a backend as opposed to via network(s)120. Still, in other embodiments, dialogue rules database 170 may alsoconnect to conversation management system 140 and/or content provider(s)130 as a backend, as opposed to via network(s) 120. Persons of ordinaryskill in the art will recognize that one or more features ofconversation management system 140 and/or dialogue rules database 170may be stored locally by user device(s) 110.

FIG. 2A is an illustrative diagram of an exemplary conversationmanagement system, in accordance with various embodiments of the presentteaching. In the illustrative embodiment, conversation management system140 may include, amongst other components, a language understandingsystem 200, a variable slot update system 210, and a response generationsystem 220. Each of language understanding system 200, variable slotupdate system 210, and response generation system 220 may include one ormore processors 202, memory 204, and communications circuitry 206.Furthermore, dialogue rules database 130 may be in communication withvariable slot update system 210 to apply one or more dialogue rulesstored therein.

Processor(s) 202 may include any suitable processing circuitry capableof controlling operations and functionality of one or morecomponents/modules of conversation management system 140, such aslanguage understanding system 200, variable slot update system 210, andresponse generation system 220. Processor(s) 202 may also facilitatecommunications between various components within one or more of languageunderstanding system 200, variable slot update system 210, and responsegeneration system 220, as well as, or alternatively, with one or moreother systems/components of conversation management system 140. In someembodiments, processor(s) 202 may include a central processing unit(“CPU”), a graphic processing unit (“GPU”), one or more microprocessors,a digital signal processor, or any other type of processor, or anycombination thereof. In some embodiments, the functionality ofprocessor(s) 202 may be performed by one or more hardware logiccomponents including, but not limited to, field-programmable gate arrays(“FPGA”), application specific integrated circuits (“ASICs”),application-specific standard products (“ASSPs”), system-on-chip systems(“SOCs”), and/or complex programmable logic devices (“CPLDs”).Furthermore, each of processor(s) 202 may include its own local memory,which may store program systems, program data, and/or one or moreoperating systems. However, processor(s) 202 may run an operating system(“OS”) for one or more components of conversation management system 140(e.g., language understanding system 200, variable slot update system210, and response generation system 220), and/or one or more firmwareapplications, media applications, and/or applications resident thereon.In some embodiments, processor(s) 202 may run a local client script forreading and rendering content received from one or more websites orexternal content sources. For example, processor(s) 202 may run a localJavaScript client for rendering HTML or XHTML content received from aparticular URL accessed by user device(s) 110.

Memory 204 may include one or more types of storage mediums such as anyvolatile or non-volatile memory, or any removable or non-removablememory implemented in any suitable manner to store data for one or moreof language understanding system 200, variable slot update system 210,and response generation system 220. For example, information may bestored using computer-readable instructions, data structures, and/orprogram systems. Various types of storage/memory may include, but arenot limited to, hard drives, solid state drives, flash memory, permanentmemory (e.g., ROM), electronically erasable programmable read-onlymemory (“EEPROM”), CD-ROM, digital versatile disk (“DVD”) or otheroptical storage medium, magnetic cassettes, magnetic tape, magnetic diskstorage or other magnetic storage devices, RAID storage systems, or anyother storage type, or any combination thereof. Furthermore, memory 204may be implemented as computer-readable storage media (“CRSM”), whichmay be any available physical media accessible by processor(s) 202 toexecute one or more instructions stored within memory 204. In someembodiments, one or more applications (e.g., tutoring programs,educational programs, games, music, video, calendars, lists, etc.) maybe stored within memory 204. Processor(s) 202 may be configured toexecute one or more instructions associated with those applications,where the one or more instructions are operable to be stored withinmemory 204 (either persistently or temporarily).

Communications platform 206 may include any communications platformand/or circuitry allowing or enabling one or more components ofconversation management system 140 (e.g., language understanding system200, variable slot update system 210, and response generation system220) to communicate with one another, and/or with one or more additionaldevices, servers, databases (e.g., dialogue rules database 170), and/orsystems. For example, communications platform 206 may facilitatecommunications between two or more of language understanding system 200,variable slot update system 210, and response generation system 220, orbetween one or more components of conversation management system 140. Insome embodiments, communications between one or more components ofconversation management system 140 may be communicated using userdevice(s) 110 across network(s) 120 via communications platform 206. Forexample, network(s) 120 may be accessed using Transfer Control Protocoland Internet Protocol (“TCP/IP”) (e.g., any of the protocols used ineach of the TCP/IP layers), Hypertext Transfer Protocol (“HTTP”),WebRTC, SIP, and/or wireless application protocol (“WAP”). Variousadditional communication protocols may be used to facilitatecommunications between various components of conversation managementsystem 140 and/or to/from conversation management system 140, including,but not limited to, Wi-Fi (e.g., 802.11 protocol), Bluetooth, radiofrequency systems (e.g., 900 MHz, 1.4 GHz, and 5.6 GHz communicationsystems), cellular networks (e.g., GSM, AMPS, GPRS, CDMA, EV-DO, EDGE,3GSM, DECT, IS 136/TDMA, iDen, LTE or any other suitable cellularnetwork protocol), infrared, BitTorrent, FTP, RTP, RTSP, SSH, and/orVOIP.

Communications platform 206 may use any communications protocol, such asany of the previously mentioned exemplary communications protocols. Insome embodiments, one or more components of conversation managementsystem 140 (e.g., language understanding system 200, variable slotupdate system 210, and response generation system 220 may include one ormore antennas to facilitate wireless communications with a network usingvarious wireless technologies (e.g., Wi-Fi, Bluetooth, radiofrequency,etc.). In yet another embodiment, one or more components of conversationmanagement system 140 may include one or more universal serial bus(“USB”) ports, one or more Ethernet or broadband ports, and/or any othertype of hardwire access port so that communications platform 206facilitates communications with one or more communications networks(e.g., network(s) 120).

Language processing system 200, in one example, may be configured toreceive an utterance and perform one or more language processingtechniques to determine features associated with the utterance. In someembodiments, language understanding system 200 may receive audio datarepresenting the utterance, which may be received from user device 110.Alternatively (or additionally), language understanding system 200 mayreceive text data representing the utterance, and/or any other datarepresentative of a user intent (e.g., image data, video data, etc.). Inone embodiment, if audio data representing the utterance is received,language processing system 200 may be configured to generate text datarepresenting the utterance using speech-to-text processing, as describedin greater detail below.

The data representing the utterance, for instance text data, may beanalyzed by language processing system 200 to determine what was “said”in the utterance. For instance, the utterance, “Call mom,” may be arequest to facilitate a telephonic/VOIP communication with a contactentitled “mom.” In some embodiments, language processing system 200 maybe configured to identify and output slot-value pair data representingone or more slot-value pairs identified by natural language processing(“NLP”), which may also be referred to as natural language understand(“NLU”) herein interchangeably. NLU may output one or more hypotheses ofan intent of an utterance based on the identified slot-value pairs. Eachintent hypothesis may be ranked with a confidence score indicating alikelihood that that particular intent hypothesis reflects the user'sactual intent. In some embodiments, the output data from languageprocessing system 200 may be a vector including the identified slots,their corresponding value, and the confidence score associated with thevalue for that particular slot. For example, using again the utterance,“Call mom,” the output from language processing system may include dataindicating an intent {Intent: “Make Telephone Call,” Score_X1}, andobject {Contact: “Mom,” Score_X2}.

Variable slot update system 210, in one embodiment, may be configured toreceive the data from language understanding system 200, and determinewhether the one or more slot-value pairs identified by languageunderstanding system 200 corresponds to a variable slot; and determine atype of update to perform to the variable slot(s). Variable slot updatesystem 210 may employ dialogue rules stored within dialogue rulesdatabase 170 to determine whether a particular intent include anyentities that correspond to variable slots. If so, then variable slotupdate system 210 may be configured to replace those single-valued slotswith variable slots, capable of taking on multiple values and/oradjustable values. As an illustrative example, variable slot updatesystem 210 may determine that an intent of an utterance is associatedwith a restaurant domain. The restaurant domain may correspond to alexical category having known entity types such as, and withoutlimitation, cuisine, reservation, number of guests, name(s) of guests,restaurant name, restaurant location, etc. Variable slot update system210 may determine that one of the slot-value pairs obtained fromlanguage understanding system 200 in association with an utterance(e.g., “Add Jack to the reservation,” includes a slot and a valueassociated with that slot (e.g., {Name: “Jack”}). Variable slot updatesystem 210 may further determine that the slot is of the entity type“Name of Guest” within the restaurant domain, and has an estimatedintent of “Add Name To Reservation” associated with a data object“Reservation” determined by language processing system 200. Variableslot update system 210 may identify a data structure stored withinmemory 204 of variable slot update system 210 representing thisreservation data object, and may determine that because the intentassociated with the restaurant domain, and because the slot-value pairincludes the entity type “Name of Guest,” that the first slotcorresponds to a variable slot. Therefore, in this particular scenario,the value “Jack” may be assigned to the variable slot “Name of Guest”within the data structure, in addition to any other names previouslyassigned to that slot.

Variable slot update system 210 may also be configured to determine howto update a particular value/values associated with a variable slot. Forinstance, variable slot update system 210 may obtain update rules fromdialogue rules database 170 indicating one or more types of updatescapable of being performed to a slot value, and the criteria forimplanting a particular one of those updates. For instance, based on anintent of an utterance received (e.g., “Add {Name} to the reservation”),a slot value pair (e.g., {Name: “Jack”) may be obtained by variable slotupdate system 210 from language understanding system 200. Variable slotupdate system 210 may identify that the first slot may already beassociated with a second value, based on another utterance that waspreviously received by conversation management system 140. For example,the previous utterance may be “Create a reservation for Sam and John.”From the previous utterance, a data object (e.g., a reservation/list)within a data structure stored by memory 204 of variable slot updatesystem 210 may be created. For example, the data object may be an entryin a data structure indicating that a list corresponding to the title“Reservation.” This entry may be created, and the values “Sam” and“John” may be assigned to that entry. As the intent of the firstutterance may be to add a name to a reservation list, and the slot-valuepair includes a slot associated with a variable “Name” slot, variableslot update system 210 may be configured to determine a type of updateto be performed with respect to the second value. In this particularexample, the type of update may be to add the name “Jack” to the dataobject “reservation” within a data structure, such that the reservationis now associated with the names “Sam,” “John,” and “Jack.”

Response generation system 220 may be configured to generate and outputa response to the utterance based on the update/action performed byvariable slot update system 210. For instance, depending on the type ofupdate performed, a particular output response may be generated. As anillustrative example, if the utterance indicates that a reservation isto be updated from including two individuals to adding three moreindividuals, then the output response may be “Ok. The reservation is nowfor five.” In some embodiments, response generation system 220 may beconfigured to generate text data representing the output utterance,audio data representing the output utterance, one or more images, one ormore videos, or any other content reflective of the response to beprovided to user device 110. Furthermore, in some embodiments, theresponse may also include one or more instructions or actions to beperformed. For example, the response may include an instruction tocontact another system and/or device to indicate the update to the dataobject performed by variable slot update system 210.

FIG. 2B is an illustrative flowchart of an exemplary process foroutputting a response to an utterance, in accordance with variousembodiments of the present teaching. In a non-limiting embodiment,process 250 may begin at step 252. At step 252, data representing anutterance may be received. For instance, audio data representing anutterance may be received by conversation management system 140, and inparticular, language understanding system 200. Alternatively oradditionally, text data representing the utterance may be received bylanguage understanding system 200 of conversation management system 140.

At step 254, an intent of the utterance may be determined. The intentmay be determined, in some embodiments, using NLU processing todetermine an estimated meaning of the utterance. Training data may beemployed to determine a format of the utterance, which may assist, forexample, in interpreting the meaning of the utterance. In someembodiments, one or more hypotheses of the utterance's intent may bedetermined, each having a confidence score indicating the likelihoodthat that hypothesis corresponds to the utterance's intent.

At step 256, one or more slots, and values associated with those slots,may be determined from the utterance. In some embodiments, NLUprocessing may be performed to the text data to determine what entitiesare included within the utterance. For example, based on the intent, adomain associated with that intent may be determined, and one or moreentities associated with that domain may be identified. Depending on thewords included within the utterance, at least one entity may beselected. A slot (e.g., a recognized named entity) may be determined anda value associated with that slot may be tagged such that a slot-valuepair is determined. For example, for the utterance “Call mom,” theintent may have such entities associated with it as “Contact Name.” Fromthe utterance, the slot associated with the entity, “Contact Name,” maybe determined, and its corresponding value, “mom,” may be tagged to thatslot (e.g., {Contact Name}: “Mom”).

At step 258, one or more variable slots may be identified. The variableslots may be identified by variable slot update system 210 based on theentity type associated with each slot, as well as the intent of theutterance. For instance, certain domains may have a variable slot listedas being associated with a particular intent. When an utterance isreceived, and the intent associated with the utterance may bedetermined, and the slot-value pairs associated with that utterance maybe determined by NLU processing. Based on a domain of the intent, adetermination may be made as to whether a particular entity type ispresent within the utterance based on the slot(s) from the slot-valuepairs. If so, then variable slot update determiner 210 may replace thoseslots with variable slots, and may attribute the value to the variableslot.

At step 260, a type of update may be determined. Variable slot updatesystem 210 may determine a type of update based on the intent of theutterance, the values of one or more slots, and context associated withthe utterance. In some embodiments, the type of update may correspond toone of: appending a value to a variable slot, removing a value frombeing associated with a variable slot, increasing a value associatedwith a variable slot by a particular amount, decreasing a valueassociated with a variable slot by a particular amount, replacing avalue associated with a variable slot by another value, and/orperforming no update.

At step 262, a response to the utterance may be generated. In someembodiments, response generation system 220 may generate a responsebased on the utterance. For instance, based on the type of updateperformed to a variable slot, or slots, different responses may begenerated. For example, the utterance “Increase the list by three,” maycause an output response to be “Ok. The list now includes five.”Response generation system 220 may further determine a type of responseto be generated (e.g., audio, text, images, video, etc.). Furthermore,response generation system 220 may also determine whether one or moreinstructions are to be generated for performing one or more actions(e.g., contacting another system/device). At step 264, the response maybe output. For instance, the response may be output by conversationmanagement system 140 to user device 110 via network(s) 120.

FIGS. 3A-E are illustrative diagrams of an exemplary user-conversationmanagement system interaction including dialogue-state updates, inaccordance with various embodiments of the present teaching. In theillustrative embodiment of FIG. 3A, a first user-conversation managementsystem interaction, also referred to as a dialogue 300, may be seen. Indialogue 300, user 102 speaks, types, or otherwise inputs a firstutterance 302 into user device 110. In the illustrative embodiment,first utterance 302 may be, “Invite Michelle and Nancy for drinks atSoMAR today.” Data representing the utterance, whether audio data and/ortext data, may be sent to conversation management system 140 to beprocessed by language understanding system 200.

Language understanding system 200 may identify, using various NLUprocessing techniques, that utterance 302 is associated with an intentof invitation intent. In this particular example, the invitation intentof utterance 302 may be associated with a restaurant domain, based onthe inclusion of “SoMAR,” a name of a restaurant, therein. Therestaurant domain may include an entity type, “Name,” associated withvariable slots that can take on a value associated with an identifiedname or names from an utterance. Thus, NLU may identify slot-valuepairs, {Name: “Michelle”} and {Name: “Nancy”}, which variable slotupdate system 210 may determine correspond to the variable slotassociated with the restaurant domain, “PName.” Persons of ordinaryskill in the art will recognize that any suitable naming mechanism maybe employed, and the use of “PName” as the entity name for names withinthe restaurant domain is merely exemplary.

Variable slot update system 210 may also determine a context ofutterance 302. In the illustrative embodiment, the context may bedetermined based on the various words included within utterance 302. Indialogue 300, the context may indicate that utterance 302 corresponds toan intent to add two individuals, one named “Michelle” and the othernamed “Nancy,” to an invitation. Therefore, in this particular scenario,a type of update 304 to occur to a data object, such as a reservationstate (e.g., invitation list, invitation properties), in a datastructure 306 is to append the values “Michelle” and “Nancy” to the slot“PName.” As seen from dialogue 300, variable slot update determiner 210may update the slot “PName” within data structure 306 associated withthe data object, “Reservation State,” such that values “Michelle” and“Nancy” are assigned to the slot “PName” (e.g., {PName: “Michelle,”“Nancy”}).

In response to the update performed to data structure 306 based onutterance 302, response generation system 220 may determine a response308. Response 308, in the illustrative embodiment, may include anutterance—“Excellent choice”—that is to be output by user device 110. Insome embodiments, response 308 may be represented as text data, suchthat text representing response 308 is provided to user device 110 anddisplayed on a display screen thereof. In another embodiment, response308 may be represented as audio data, such that audio of response 308 isprovided to user device 110 and output by one or more audio outputcomponents (e.g., speakers) thereof. In still additional embodiments,response 308 may cause a reservation request to be sent to asystem/device associated with a company (e.g., Restaurant “SoMAR”) tocause a reservation to be created for user 102. For instance, userdevice 110 may have user information (e.g., name, email, telephonenumber, address, etc.) stored thereon within memory, and may send theuser information with the data representing utterance 302 toconversation management system 140. Upon determining the intent (e.g.,to create a reservation), the user information may be sent to asystem/device associated with an endpoint (e.g., restaurant “SoMAR”) tocreate an event for user 102.

In FIG. 3B, another dialogue 310 is presented that occurs subsequent todialogue 300. In dialogue 310, an utterance 312 is provided by user 102(e.g., via text, audio, etc.) to conversation management system 140 viauser device 110. In the illustrative embodiment, utterance 312 may be,“Actually, Nancy won't be able to make it.” Language understandingsystem 200, upon receipt of data representing utterance 312, maydetermine that an intent of the utterance is to remove a name from thereservation list, where that name corresponds to “Nancy.” In particular,language understanding system 200 may generate the slot-value pair{Name: “Nancy”} with the intent {Intent: “Remove Name”}, which may beprovided to variable slot update system 210.

Upon receipt of the slot-value pair, variable slot update system 210 mayidentify that the domain associated with utterance 312 is still the“Restaurant Domain.” Based on the utterance's domain, and the intentassociated with the utterance, variable slot update system 210 maydetermine that a type of update 314 to be performed to the datastructure is to remove an entity from the stored list. As seen from FIG.3A, data structure 306 includes values {Michelle, Nancy} as beingassociated with slot “PName.” Therefore, based on type of update 314,the action that will be performed to data structure 306 will be toremove the value “Nancy” from being associated with the slot “PName.”Thus, as seen from data structure 316, slot “PName” is now associatedwith only the value “Michelle.”

In response to the update performed for data structure 316 based onutterance 312, response generation system 220 may determine a response318. Response 318, in the illustrative embodiment, may include anutterance—“Got it, I removed Nancy from the list”—which is to be outputby user device 110. In some embodiments, response 318 may be representedas text data, such that text representing response 318 is provided touser device 110 and displayed on a display screen thereof. In anotherembodiment, response 318 may be represented as audio data, such thataudio of response 318 is provided to user device 110 and output by oneor more audio output components (e.g., speakers) thereof. In stilladditional embodiments, response 318 may cause a reservation request tobe sent to a system/device associated with a company (e.g., Restaurant“SoMAR”) to cause a reservation to be modified for user 102.

In FIG. 3C, another dialogue 320 between user 102 and conversationmanagement system 140 is described. In dialogue 320, user 102 inputs anutterance 322. Utterance 322, similarly to utterances 302 and 312, maybe provided to conversation management system 140. Utterance 322, in theillustrative embodiment, may be “For now, make the reservation for two.”Language understanding system 200 of conversation management system 140may identify that the intent of utterance 322 is to register the numberof guests associated with a reservation with the number two (2).Therefore, language understanding system 200 may output the slot-valuepair {Number of Guests: “Two”} to variable slot update system 210.

Variable slot update system 210 may identify, based on the intent ofutterance 322, and the various other contextual features of utterance322 (e.g., domain, words, previous utterances, etc.), that the contextof utterance 322 is to perform a type of update 324—“Replace.” Inparticular, the restaurant domain may include another variableslot—“RNumGuest”—that may specify a number of values associated with aparticular list (e.g., reservation state). In the previous utterances(e.g., utterances 302 and 312), language understanding system 200 didnot identify any words within those utterances as being associated withthe slot “RNumGuests.” On the other hand, in utterance 322, languageunderstanding system 200 may not identify any words as being associatedwith the slot “PName.” Therefore, the type of update 324 for utterance322, as determined by variable slot update system 210 may be to replacethe value currently attributed to the slot “RNumGuest” with the value“2”. For example, as seen from updated data structure 326, the slot“PName” has a same value “Michelle” as in data structure 316, but nowthe slot “RNumGuest” has a value assigned thereto of “2”. Previously,there was no value assigned to slot “RNumGuest” as no updates wereidentified to be performed to that slot from utterances 302 and 312. Inresponse, response generation system 220 may generate and outputresponse 328—“Got it”—to user device 110.

In FIG. 3D, another dialogue 330 between user 102 and conversationmanagement system 140 is illustrated. In dialogue 330, user102—similarly to utterances 302, 312, and 322, input utterance 332,which in turn is provided to conversation management system 140.Utterance 332, in the example, is, “Add three more guests please.” Inthe illustrative embodiment, language understanding system 200 mayidentify and output a slot-value pair {Number of Guests: “3”} tovariable slot update system 210. In this particular example, however,variable slot update system 210 may determine that the context ofutterance 332 is associated with a type of update 334 to adjust (e.g.,increase) a value attributed to a corresponding slot. For example, basedon the context of utterance 332, variable slot update system 210 maydetermine that the variable slot “RNumGuest” is to be updated, with theaction being to increase the value associated with variable slot“RNumGuest” by the amount “3”. Therefore, updated data structure 336 mayreflect the new reservation state, whereby slot “PName” has the value“Michelle associated with it, and slot “RNumGuest” has the value “5”associated with it.

The process exhibited in dialogue 330 differs from that of typical NLUprocessing in that, with typical NLU processing, instead of replacingthe value associated with the slot “RNumGuest” with a new value, thevalue is modified based on the previous value and the new value. Forexample, standard NLU processing would identify that the intent ofutterance 332 is to update the value associated with the entity “Numberof Guests,” but because the slots from NLU processing are not variable,the value included within utterance 332 would replace the valuepreviously stored within the data structure. Therefore, variable slotupdate system 210 allows for an accurate dialogue-state between user 102and conversation management system 140 to be maintained. Conversationmanagement system 140 may then generate and output, via responsegeneration system 220, response 338 to user device 110. Here, response338 may indicate that the number of guests is now incremented to befive; up from the previous value of two (e.g., “I updated the guestcount to 5”).

In FIG. 3E, yet another dialogue 340 is illustrated. In dialogue 340,user 102 inputs an utterance 342—“Remove one guest and finalize thereservation.” Language understanding system 200 of conversationmanagement system 140 may identify the slot-value pair {Number ofGuests: “1”} and {Intent: “Remove”} from utterance 342. Variable slotupdate system 210 may determine a context of utterance 342 is to performan update 344 to the number of guests associated with a reservationstate. For instance, variable slot update system 210 may determine thatthe variable slot “RNumGuest” is to be decreased by an amount “1” fromits previous value. Therefore, updated data structure 346 may reflectthat the new value associated with the variable slot “RNumGuest” isfour, as it has been decreased by one from the value associated with thevariable slot “RNumGuest” stored with data structure 336. In response,response generation system 220 may generate and output a response348—“Ok, I reserved a table at SoMAR for 4.” Response 348 may then beoutput to user device 110.

FIG. 4A is an illustrative diagram of an exemplary languageunderstanding system, in accordance with various embodiments of thepresent teaching. In the illustrative embodiment, language understandingsystem 200 may include a speech-to-text (“STT”) system 400, a namedentity recognition system 402, an intent determination system 404, anentity resolution system 406, and a slot tagging system 408. Each of STTsystem 400, named entity recognition (“NER”) system 402, intentdetermination system 404, entity resolution (“ER”) system 406, and aslot tagging system 408 may include one or more computer programs storedwithin memory 204 of language understanding system 200, which, uponexecution by processor(s) 202 thereof, cause one or more functionalitiesassociated with those components to be performed.

STT system 400, in one embodiment, may receive input audio data—such asvia communications platform 206 of language understanding system200—from user device 110. STT system 400 may employ one or more speechmodel(s) 410 to generate text data representing the audio data. In someembodiments, STT system 400 may include automatic speech recognitionfunctionality, such as an expression detector that analyzes audiosignals. For example, an expression detector may be implemented usingkeyword spotting technology, which evaluates an audio signal to detectthe presence of a predefined word or expression, such as a phrase orother sound data, within the audio signals. The keyword spotter mayoutput a true/false signal representing whether a particular word,series of words, or phrase was uttered. In some embodiments, anexpression detector may be configured to analyze the audio signal toproduce a score indicating a likelihood that a particular word or phraseis included within the audio data. The expression detector may thencompare that score to a threshold value to determine whether that wordor phrase will be declared as having been spoken.

STT system 400 may generate words representing the speech of the audiodata. STT system 400 may then interpret an utterance based on thesimilarity between the utterance and pre-established speech model(s)410. For example, speech models 410 may correspond to models ofparticular sounds (e.g., sub-word units or phonemes) and sequences ofsounds to identify words that match the sounds and/or sequence of soundsuttered within the audio signals of the audio data.

Each audio data may yield multiple instance of text data representingthat audio data, where each text data instance may have an associatedprobability or confidence score representing a likelihood that the textof the text data represents a particular set of words that was uttered.The confidence score may be based on a number of factors. STT system 400may output the most likely text recognized in the audio data based onthe confidence score (e.g., instance of text data having the highestconfidence score).

The text data may then be provided to NER system 402 from STT system400. In the scenario where no audio data is received, but instead textdata representing the utterance is received, the text data may insteadbe provided directly to NER system 402, and STT system 400 may bebypassed.

NER system 402 may receive the text data, either from user device 110 orSTT system 400 (or both, if available), and may attempt to identifymeaning from the text data. NER system 402 may be in communication witha named entities database 412, which may store listing of entitiesassociated with various domains. A domain, as described herein, maycorrespond to a set of functionalities having a similargoal/theme/concept. For example, one domain may be for shopping (e.g.,the “Shopping Domain”), while another domain may be for restaurants(e.g., the “Restaurant Domain”), and so on. In particular, each domainmay be associated with its own language model/gramma database storedwithin named entities database 412. Therefore, NER system 402 may workto identify which domains an utterance may correspond to, and may outputa list of domains that could possible handle a task associated with anutterance, along with a score indicating the likelihood that that domaincan perform the task. The list of domains and scores associated withthose domains may then be provided to intent determination system 404.

Intent determination system 404, in some embodiments, may analyze thetext data, and may determine one or more intents for each identifieddomain of the list of domains received from NER system 402. As describedherein, each domain may include a collection of words associated withintents for that domain. These collections of words may correspond tointent models 414. Intent determination system 404 may serve to identifywhich potential intents for each domain of the list of domains theutterance may correspond to. For example, the shopping domain may havepurchasing intents identifiable by utterances including the word “buy.”As another example, the restaurant domain may have reservation intentsidentifiable by utterances including the word “reservation,” or“invite.” Intent models 414 process the text data against the intentsassociated with each domain included within the list of domains toidentify one or more “matching” intents.

NER system 402 may be configured to apply relevant language models tointerpret an utterance. These language models may specify names ofentities (e.g., nouns) found within speech for a particular domain.Intent determination system 404 may then be configured to link theentities to slots, which may also be referred to as fields, or fillableslots/fields, corresponding to a portion of the utterance's textassociated with a particular entity. For example, the utterance “AddJack to the list” may be identified as corresponding to the intent “adda name to a list,” this may refer to a sentence structure of the form“Add {Name} to the list.”

NER system 402 may also be configured to identify words from anutterance as corresponding to one or more grammatical objects, such as,and without limitations, subject, object, verb, preposition, adverb,adjective, etc. Each intent model 414 may have a domain-specificframework include a listing of slots associated with the variousgrammatical objects. Each framework may be linked to a particular intentor intents, which may indicate how to interpret the utterance's meaning.Therefore, after intent determination system 404 performs its functions,a resulting intent hypothesis indicating various lexical objectsassociated with an utterance may be output. For example, using theutterance “Add Jack to the list,” may produce a result of: {Domain:“Restaurant”}; {Intent: “Add name to a list”}; {Name: “Jack”}; {ListObject: “List”}.

ER system 406 may be configured to associate a particular portion of thetext data representing the utterance to an identified entity. Forexample, ER system 406 may, in some embodiments, identify particularnames/values/titles associated with a particular domain as possibleobjects to resolve to an entity. In particular, ER system 406 may assigna value having a meaning understandable by language understanding system200 and/or variable slot update system 210 to a particular slot. When ERsystem 406 identifies a particular value to resolve to an entity, slottagging system 408 may tag, also referred to herein interchangeably asassign, that value to a particular slot associated with that entity.Continuing the above example, the value “Jack” may be resolved to theentity “Name” within the restaurant domain. Based on the intent being toadd a name to a reservation list, ER system 406 may provide instructionsto slot tagging system 408 to assign the value “Jack” to the slot“Name.” By doing so, a data structure may be generated, or modified, toassign that value to that slot. For example, under the data structure of“Reservation State,” generated or linked to the utterance “Add ‘Jack’ tothe list,” there may be a variety of fillable slots (e.g., Name Slot,Restaurant Name Slot, Cuisine Slot, Number of Guests Slot, etc.). Slottagging system 408 may be configured to assign the value “Jack” to theslot “Name” based on ER system 406 resolving the object “Jack” to theentity “Name.”

The output result of language understanding system 200 may be slot-valuepair data, as well as the text data. The slot-value pair data mayrepresent a list/vector of each slot identified within an utterance, aswell as a corresponding value assigned to that slot. These slot-valuepairs are the values attributed to particular slots within a datastructure representing a data object associated with an intent of theutterance. As an illustrative example, for the utterance “Add ‘Jack’ tothe list,” in the context of the restaurant domain, the slot-value pairdata may include the slot value pair: {Name: “Jack”}.

FIG. 4B is an illustrative flowchart of an exemplary process foridentifying and outputting slot-value pair data representing one or moreslot-value pairs identified from an utterance, in accordance withvarious embodiments of the present teaching. Process 450, in anon-limiting embodiment, may begin at step 452. At step 452, audio datarepresenting an utterance may be received. For example, audio datarepresenting an utterance may be captured by one or more audio inputcomponents of user device 110, which in turn may be provided toconversation management system 140 via network(s) 120. At step 454, uponreceipt of the audio data, language understanding system 200 may providethe audio data to STT system 400. STT system 400 may generate text datarepresenting the audio data, using one or more speech models 410. Insome embodiments, however, process 450 may begin at step 456. At step456, text data representing the utterance may be received. The textdata, for example, may be received by conversation management system 140from user device 110 via network(s) 120.

After steps 454 and/or 456, process 450 may proceed to step 458. At step458, one or more entities may be recognized within the text data. Forexample, NER system 402 may recognize one or more entities within theutterance by parsing the utterance using one or more grammatical modelsstored within named entities database 412. Named entities database 412may store representations of varies entities (e.g., nouns) associatedwith different intents.

At step 460, an intent of the utterance may be determined. The intentmay be determined using intent determination system 404 employing intentmodel(s) 414. In some embodiments, a verb or other grammatical objectmay be identified within the utterance to indicate a correspondingintent. For example, the verb “play” may be associated with an intent toplay music, play videos, and/or play a game. In some embodiments, one ormore intent hypotheses may be output for the utterance, each having itsown score indicating how likely it is that that intent corresponds tothe utterance. The intent of the utterance, for instance, may beselected based on which intent has the highest score. However, in otherinstance, entity resolution may be performed prior to the intent beingselected.

At step 462, one or more entities may resolved to a slot for thedetermined intent. For instance, each intent from each domain may have asentence framework modeling the utterance. The sentence frameworks mayinclude varies fillable slots associated with the different entities forthat intent and domain. ER system 406 may be configured to resolve avalue to a slot based on the named entities stored within named entitiesdatabase 414 and the words included within the received utterance.

At step 464, one or more slots within the sentence framework may betagged with a value based on the utterance's words. For example, theutterance, “Add ‘Jack’ to the reservation” may be associated with asentence framework, “Add {Name} to the {List},” where {Name} and {List}correspond to slots within a restaurant domain. In this particularscenario, ER system 406 and slot tagging system 408 may work to assignthe value “Jack” to the slot “Name,” and the value “Reservation” to theslot “List,” or “List Type.”

At step 466, slot-value pair data may be generated. The slot-value pairdata may include a listing/vector of all of the slots and their assignedvalues identified for a particular utterance. As seen from the previousexample, language understanding system 200 may generate slot-value pairdata including the slot-value pair {Name: “Jack”}. At step 468, theslot-value pair data and the text data may be output. For example,language understanding system 200 may output the slot-value pair data tovariable slot update system 210.

FIG. 5A is an illustrative diagram of an exemplary variable slot updatesystem, in accordance with various embodiments of the present teaching.In the illustrative embodiment, variable slot update system 210 mayinclude a context extraction system 500, a dependency parsing system502, a de-lexicalization system 504, and an update determiner 506. Eachof context extraction system 500, dependency parsing system 502,de-lexicalization system 504, and update determiner 506 may include oneor more computer programs stored within memory 204 of variable slotupdate system 210, which, upon execution by processor(s) 202 thereof,cause one or more functionalities associated with those components to beperformed.

Context extraction system 500, in some embodiments, may be configured toreceive the slot-value pair data and the text data from languageunderstanding system 200, and extract a context of the utterance. Eachutterance received may include one or more slots, each having one ormore values associated therewith. Therefore, multiple updates may beneeded, and so an understanding of an appropriate context for thosevalues is needed to properly manage a dialogue state between user device110 operated by user 102, and conversation management system 140. Acontext for a particular slot value, as described herein, may correspondto an ordered set of words representative of an update to be performedto/for that value.

As an illustrative example, the utterance “Remove ‘John’ but add ‘Jay’to the list,” may include two values, “John” and “Jay,” for the slot“Name.” In particular, if this slot is a variable slot, such as amulti-value slot associated with the restaurant domain, then the slotmay correspond to a “PName” slot. However, the update to be performedmay differ depending on the subject, “John” or “Jay.” For instance, theupdate associated with the subject “John” may be to remove (e.g.,removing update) from the list, while the update associated with thesubject “Jay” may be to add (e.g., adding/appending update) to the list.In this particular example, the “context” from the utterance needs to beproperly distributed to the right subject in order to perform thecorrect action. For instance, the context of “Remove” needs to be linkedto the subject “John,” while the context of “Add” or “Append” needs tobe linked to the subject “Jay.”

In some embodiments, context extraction system 500 may employ one ormore extraction rules 508 to perform the extraction. For example,extraction rules 508 may include instructions executable by processor(s)202 of variable slot update system 210 to facilitate use of a slidingwindow to analyze the words surrounding a particular slot. Extractionrules 508 may indicate how context extraction system 500 is to analyzecertain words within an utterance based on their position (e.g., withina sentence) and relationship to a given slot or slots.

Dependency parsing system 502 may be configured to parse a sentence toidentify the grammatical relationships between each word in the sentenceand one or more other words in the sentence. For example, dependencyparsing system 502 may employ word dependencies 510 to identify theobjects within an utterance, the action associated with the utterance,the nominal subject of the utterance, the direct object of theutterance, and/or the nominal passive subject of the utterance. Thesecontextual dependencies may be particularly useful in the scenario wherethe sliding window approach of context extraction system 500 does notyield results, yields incorrect results, and/or as a crosscheck forcontext extraction system 500.

De-lexicalization system 504 may be configured, in some embodiments, toremove the lexical properties of text to obtain a canonical form of thattext. Various types of de-lexicalization may include, but are notlimited to, stemming and lemmatization. De-lexicalization system 504 mayemploy one or more slot replacement rules 512 to de-lexicalize theslot-value pairs received from language understanding system 200, andreplace them with the type of variable slot that with they belong. Afteridentifying the variable slot or slots, the replacement information maybe used to replace the slots with their corresponding variable slot. Asan illustrative example, the utterance, “Add Jack and John to theinvitation” may be changed to “Add {Multi-Value Slot} and {Multi-ValueSlot} to the invitation.”

Update determiner 506, in one embodiment, may be configured to receivethe replacement information, dependency parsing information, and contextextraction information and determine a type of update to be performed.As mentioned previously, update determiner 506 may classify theutterance into being associated with one or more types of updates. Thevarious types of updates may include, in the illustrative example,appending, removing, increasing, decreasing, replacing, and performingno update.

FIG. 5B is an illustrative flowchart of an exemplary process fordetermining update classification information for a slot-value pair, inaccordance with various embodiments of the present teaching. Process 550of FIG. 5B may, in a non-limiting embodiment, begin at step 552. At step552, slot-value pair data and the text data may be received. Forinstance, slot-value pair data representing one or more slot-value pairsidentified from an utterance may be received by variable slot updatesystem 210 from language understanding system 200.

At step 552, one or more context extraction rules may be applied to thetext data representing the utterance. For example, a sliding window maybe applied that analyzes the words surrounding a given slot, identifiedform the slot-value pair data, to determine the words surrounding thatslot. These words may be analyzed to determine whether theycontribute—if any—to the context of the slot. In some embodiments,context extraction system 500 may apply one or more context extractionrules 508 to the text data using the slot-value pair data.

At step 556, dependency parsing may be applied to the text data. Forinstance, dependency parsing system 502 may employ word dependencies 510to identify a grammatical dependency of each word within an utterance.For example, the objects, subjects, actions, and so on, of eachutterance may be identified and labeled by dependency parsing system502.

At step 558, de-lexicalization may be performed to the text data. Forinstance, de-lexicalization system 504 may analyze the utterance and,using the slot-value pair data, may identify the variable slots presentwithin the utterance. In some embodiments, de-lexicalization system 504may use slot replacement rules 512 to replace one or more slots with acorresponding variable slot (e.g., a multi-value slot and/or anadjustable slot).

At step 560, a type of update to be performed for the utterance may bedetermined. For instance, update determiner 506 may classify theutterance as being associated with one or more types of updates:appending, removing, increasing, decreasing, replacing, and performingno update. Depending on the context, and the sentence structure, slotreplacements, and dependencies, the type of update may be classified fora particular utterance. At step 562, update classification information,indicating a type of update to be performed, may be output from variableslot output system 210.

FIG. 6A is an illustrative diagram of an exemplary context extractionsystem, in accordance with various embodiments of the present teaching.Context extraction system 500, in the illustrative embodiment, mayinclude a slot/value identifier 600, a slot number determiner 602, amultiple slot detector 604, a sliding window size selector 606, adelimitation identifier 608, and a context determiner 610. Each ofslot/value identifier 600, slot number determiner 602, multiple slotdetector 604, sliding window size selector 606, delimitation identifier608, and context determiner 610 may include one or more computerprograms stored within memory 204 of variable slot update system 210,which, upon execution by processor(s) 202 thereof, cause one or morefunctionalities associated with those components to be performed.

Slot/value identifier 600, in the illustrative embodiment, may receiveslot-value pair data, as well as text data representing an utterance,from language understanding system 200. Upon receiving the slot-valuepair data, slot/value identifier 600 may be configured to identify thevarious slots and their corresponding values within a given utterance,as represented by the additionally received text data. For instance, theutterance, “Remove John and add Jay to the list” may be received, or inparticular, text data representing this utterance may be received, andan identification of two instances of the slot “Name” (e.g., {Name}) maybe identified. The two instances may have two different values, oneassociated with the value “John,” and the other associated with thevalue “Jay.”

The slot/value pair data, and identified slots, may be provided to slotnumber determiner 602. Slot number determiner 602 may be configured todeterminer a number of slots present within the utterance. Using theprevious example, slot number identifier 602 may determine that thereare two slots associated with the slot “Name.” The number of slots thatare determined to be present, along with the slot-value pair data andthe text data may then be provided to multiple slot detector 604.Multiple slot detector 604 may, in some embodiments, function todetermine whether there are two or more slots present within anutterance. Depending on the number of slots detected by slot numberdeterminer 602, multiple slot detector 604 may be configured to pass theslot-value pair data, the text data, and/or any additionally informationcapable of being used to determine a context of the utterance, tosliding window size selector 606 or context determiner 610.

As described in greater detail below with reference to FIG. 7A, if onlyone slot is detected within the utterance, multiple slot detector 604may provide the text data and the slot-value pair data to contextdeterminer 610. Context determiner 610, in this particular scenario, mayemploy one or more extraction rules 508 to determine the context of theutterance. For example, if only one slot is identified within theutterance, then all of the words included for the utterance may be usedby context determiner 610 to determine the context of the utterance.

If, however, multiple slot detector 604 determines that the number ofslots presented within the utterance, as determined by slot numberdeterminer 602, is greater than one, then the slot-value pair data, thetext data, and any other suitable information for identifying anutterance's context, may be provided to sliding window size selector606. Sliding window size selector 606 may be configured to select awindow size from one or more preconfigured window sizes 614 to be usedfor a sliding window. The sliding window may analyze words adjacent toeach identified slot within that window to extract a context associatedwith a particular slot. For example, the selected window may have avalue of k=2, such that a sliding window of 2 words around a givenslot's value from an utterance may be analyzed when determining acontext associated with that vale.

Delimitation identifier 608 may identify one or more delimiters 612present—if any—within an utterance. A delimiter, as described herein,may correspond to any grammatical object that implies arelationship/connection between one slot and various values. Forexample, the utterance “Add Jay, John, and Jack to the list,” impliesthat the values “Jay,” “John,” and “Jack” are all associated with theaction “Add.” The values “Jay,” “John,” and “Jack,” in this example, maybe segmented by commas as well as the word “and.” Therefore,delimitation identifier 608 may identify whether the utterance includesany delimiters 612, and further whether those delimiters constitute aconnection between an action and two or more values.

The sliding window size that is selected, the delimiter information, theslot-value pair data, and the text data may then be provided to contextdeterminer 610 to determine a context associated with each value, andmore generally, the utterance. In some embodiments, context determiner610 may employ extraction rules 508 to determine the context, andcontext determiner 610 may output the utterance's context from contextextraction system 500. The various ways by which context determiner 610may determine context is described in greater detail below withreference to FIG. 7A.

FIG. 6B is an illustrative flowchart of an exemplary process fordetermining an utterance's context, in accordance with variousembodiments of the present teaching. Process 650, in a non-limitingembodiment, may begin at step 652. At step 652, slot-value pair data andtext data may be received from language understanding system 200. Atstep 654, the slots and the associated values associated with theutterance may be identified. For example, slot/value identifier 600 maydetermine the slots/values from the slot-value pair data and/or the textdata (e.g., the text data may be analyzed separately and/oradditionally).

At step 656, a number of slots present within the utterance may bedetermined. For example, slot number determiner 602 may count the numberof slots present within the utterance using the text data and/or theslot-value pair data. At step 658, a determination may be made as towhether the utterance includes more than one slot. For example, multipleslot detector 604 may determine whether the number of slots is greaterthan one. If, at step 658, multiple slot detector 604 determines thatthere is not more than one slot within the utterance, and thereforethere is only a single slot, then process 650 may proceed to step 660.At step 660, a context of the utterance may be determined by contextdeterminer 610. In particular, for a single slot utterance, all of thewords within the utterance may be taken to determine the context of acorresponding slot's utterance.

If, however, at step 658, multiple slot detector 604 determines thatthere are more than one slot present within the utterance, then process650 may proceed to step 662. At step 662, a window size for a slidingwindow to be used for analyzing the utterance may be selected. Forexample, sliding window size selector 606 may select one of windowsize(s) 614 to use for a sliding window to be used by context determiner610 to analyze an utterance's context. At step 664, one or moredelimiters, if present within the utterance, may be identified. Forinstance, delimitation identifier 608 may be configured to identify oneor more delimiters 612 (e.g., commas, semi-colons, hyphens,conjunctions, etc.) within an utterance.

At step 666, a context for a value associated with each slot of the twoor more slots identified within the utterance may be determined. Forinstance, context determiner 610 may employ one or more extraction rules508 to determine a context associated with that value based, at least inpart, on the selected sliding window size and/or the delimiterinformation. At step 668, the context information, indicating a contextof the value associated with each slot, and thus associated with theutterance, may be output from context extraction system 500.

FIG. 7A is an illustrative diagram of an exemplary context determiner,in accordance with various embodiments of the present teaching. Contextdeterminer 610, in the illustrative embodiment, may include a multi-slotcomponent 700 and a single slot utterance extractor 720. Multi-slotcomponent 700 may be operable to determine a context for an utteranceincluding multiple slots. Single slot utterance extractor 720 may beconfigured to determine a context of an utterance including only asingle slot. In some embodiments, if no slots are identified, additionalprocessing of the utterance may be required. Multi-slot component 700,in the illustrative embodiment, may include a slot value positiondeterminer 702, a word space determiner 704, a word space/window sizecomparator 706, a slot value/word(s) assignor 708, and a contextextractor 710. Each of slot value position determiner 702, a word spacedeterminer 704, a word space/window size comparator 706, a slotvalue/word(s) assignor 708, and a context extractor 710, as well assingle slot utterance extractor 720, may include one or more computerprograms stored within memory 204 of variable slot update system 210,which, upon execution by processor(s) 202 thereof, cause one or morefunctionalities associated with those components to be performed.

Single slot utterance extractor 720 may, in one embodiment, beconfigured to determine a context of an utterance including only asingle slot. Single slot utterance extractor 720 may receive the textdata representing the utterance, as well as the slot-value pair data. Inone embodiment, single slot utterance extractor 720 may be configured totake the entire utterance as the context for that single slot's value.For example, if the utterance is, “Add John,” then all the words of theutterance surrounding slot “Name” having the associated the value “John”may be used to determine the context of the utterance. Single slotutterance extractor 720 may then output the utterance's context fromcontext determiner 610.

Multi-slot component 700, and the various components and functionsassociated therewith, may be employed in the scenario where multipleslot detector 604 identifies two or more slots present within anutterance. In this embodiment, the text data and the slot-value pairdata may also be received by slot value position determiner 702. Slotvalue position determiner 702 may be configured to determine a syntaxposition of each word within the utterance, and in particular, theposition of each slot's value within the utterance. For example, eachslot value's position within the utterance (e.g., first word, secondword, n-th word) may be determined. Slot value position determiner 702may then provide the positional information to word space determiner704.

Word space determiner 704 may receive the slot value positionalinformation from slot value position determiner 702, as well as thedelimiter information and selected slot window size from delimitationidentifier 608 and sliding window size select 606, respectively. Wordspace determiner 704 may then be configured to determine a number ofwords, also referred to as a word spacing, between each slot value. Forexample, the utterance, “Add John to the list, but remove Jack” mayindicate that between the slot values “John” and “Jack,” there are fivewords. Some of those words may correspond to additional actions and/orcontexts, and may not be applicable to both slot values, however wordspace determiner 704 may first determiner the absolute number of words.In some embodiments, word space determiner 704 may also identify thenumber of words unrelated to an action or additional slot, such as theword “list” or “remove” from the previous example utterance.

The number of words between slot values may then be provided to wordspace/window size comparator 706 to determine whether the number ofwords is greater than or equal to the selected sliding window size. Forexample, if the window size is k=2, then comparator 706 may determinewhether the number of words between the slot values is less than orequal to the window size, or some multiple of the window size. Forinstance, the different context rules 712 may be used depending on theword spacing in relation to the window size.

Slot value/word(s) assignor 708 may be configured to apply one or morecontext rule(s) 712 to the words adjacent to a slot value in order forcontext extractor 710 to extract a context. For example, slotvalue/word(s) assignor 708 may determine whether the number of wordsbetween two (or more) slots is less than 2k (e.g., n<2k). In thisparticular scenario, context rule(s) 712 may specify that the k wordsare to be assigned to the context of the “right” slot's value, while then−k words are assigned to the context of the “left” slot's value.Furthermore, context rule(s) 712 may specify that all the words to the“left” (e.g., prior” to the first value may be added to the firstvalue's context, while all the words to the right of the right value maybe added to the second value's context. As an illustrative example, theutterance “Add Jack and remove Bob” indicate that, because there areless than 2k words between the values “Jack” and “Bob” (e.g., 2<2 (2)),then the value “Bob” will have the words “and” and “remove” assigned toit for determining the context associated with the value “Bob,” whilethe word “Add” will be assigned to the context associated with the value“Jack.”

As another illustrative example, in the case of delimiters beingpresent, such as commas, spaces, colons, the word “and,” etc., thevalues of the same slot connected by those delimiters may be combinedinto a single value. For example, the utterance “Add Jack, John, and Jayto the invite” be decomposed such that the values “Jack,” “John,” and“Jay” are treated as one value, and context segmentation is notperformed between those values. This is because these values areconnected by the delimiters, and thus have a same type of update beingapplied thereto.

FIG. 7B is an illustrative flowchart of an exemplary process forapplying one or more context rules, in accordance with variousembodiments of the present teaching. Process 750, in a non-limitingembodiment, may begin at step 752. At step 752, slot-value pair data andtext data representing an utterance may be received. For example, in thecase of multi-slot component 700, the data may be received by slot valueposition determiner 702. At step 754, a position of each slot, and thuseach slot's corresponding value, may be determined. For instance, slotvalue position determiner 702 may determine the location of each slotand value within the utterance. In some embodiments, the slot-value pairdata may include this information.

At step 756, a slot window size and delimiter information may bereceived. For example, the sliding window size selected by slidingwindow size selector 606, and the identified delimiter information fromdelimitation identifier 608, may be received by word space determiner704. Additionally, word space determiner 704 may also receive theslot/value position information from slot value position determiner 702.

At step 758, a number of words between the various slots—if there aremultiple slots present within the utterance—may be determined. In thescenario where only a single slot is present, single slot utteranceextractor 720 may be employed. Word space determiner 704 may beconfigured, in some embodiments, to determine the number of wordspresent between each slot's value within the utterance. At step 760, thenumber of words may be compared to the selected slot window size. Forexample, word space/window size comparator 706 may compare the number ofwords between two or more slot values with the selected sliding window'ssize. Then, at step 762, the one or more context rules may be appliedbased on the results of the comparison. For example, slot value/word(s)assignor 708 may apply context rules 712 to determine which words toassign to which slot value in order to extract a context of the value,and thus the utterance, using context extractor 710.

FIG. 8A is an illustrative diagram of an exemplary dependency parsingsystem, in accordance with various embodiments of the present teaching.In the illustrative embodiment, dependency parsing system 502 mayinclude a lexical analysis system 800, a grammatical preference applier802, and a context extractor 804. Each of lexical analysis system 800,grammatical preference applier 802, and context extractor 804 mayinclude one or more computer programs stored within memory 204 ofvariable slot update system 210, which, upon execution by processor(s)202 thereof, cause one or more functionalities associated with thosecomponents to be performed.

Lexical analysis system 800, in the illustrative embodiment, may beconfigured to apply one or more grammar rules 806 to text datarepresenting the utterance in order to determine a grammaticalrelationship between the various utterance's words. Grammar rules 806may assist in determining how certain words are effected, or affect,other words within the utterance. As an illustrative example, theutterance, “John added Jack to the list,” may be analyzed by lexicalanalysis system 800 using grammar rules 806 to determine that the action“add” or “added” is linked to both values “John” and “Jack.” Therelationship between the action and the values is, in the example, that“John” is the actor having a nominal subject dependence to the action“added,” while “Jack” is the actor being affected by the action with adirect object dependency. Grammar rules 806 may specify criteria bywhich to classify the values into one of three dependencies: nominalsubject, direct object, and nominal passive subject. When contextextractor 804 performs context extraction, the identified dependenciesare used to add the words connected with a particular slot-value pair tothat slot value's context. The nominal subject, as described herein, maycorrespond to a noun phrase that is the syntactic subject of a clause.The direct object, as described herein, may correspond to the nounphrase that is the object of the verb. The nominal passive subject, asdescribed herein, may be a noun phrase that is the syntactic subject ofa passive clause.

Grammatical preference applier 802 may be configured to apply one ormore grammar preferences 808 to assist in identifying context. In someembodiments, grammatical preference applier 802, and more generallydependency parsing system 502, may be employed to assist in identifyingcontext when/if the sliding window technique describe previously withrespect to context extraction system 500 does not work or producesinaccurate results.

One such illustrative example where grammatical preference applier 802may be employed is when context extraction system 500 is unable tocapture related words using the sliding window. For instance, if a wordor words related to a value are not located within the sliding window,then the sliding window may not attribute these words to a valuescontext. To remedy this situation, grammar preference applier 802 mayidentify the grammatical relationship between objects and actions tocapture the words for context extrication in relation to a particularvalue. As an illustrative example, for the utterance “John is to beremoved so take one person off the list.” In this utterance, the action“removed” is outside of the window having a window size k=2 of the value“John” associated with the slot “Name.” Therefore, because John is thesubject of the action “removed,” grammatical preference applier 802 mayrecognize that the action “remove” or “removed” is to be associated withthe value “John.”

As another illustrative example where grammatical preferences applier802 may be employed is when context extraction system 500 captures oneor more unrelated words using the sliding window technique. Forinstance, certain words included within the sliding window may beunconnected, grammatically, to a slot value. Therefore, grammaticalpreferences applier 802, employing grammatical preferences 808, may becapable of resolving this situation. For example, the utterance “Johnsaid Jack is not coming,” may, using the sliding window technique,attribute the action “said” to the context of value “Jack,” whereas“said” is actually grammatically connected to the value “John.”

Grammatical preferences 808, when applied using grammatical preferencesapplier 802, may further indicate to context extractor 804 that, when aword is connected to multiple slot-values, preference may be given tothe word having direct object dependency as compared to a word havingnominal subject and nominal passive subject dependencies. For instance,the direct object of a verb/action is the recipient of that action.Therefore, the direct object is the more likely attributer for thecontext of the action.

Context extractor 804, may therefore, receive all of the contextualpreferences as applied by grammatical preference applier 802, and mayidentify and extract a context for each value based on those rules.Context extractor 804 may then output the utterance's context, either intotal or for each slot's value. For example, each slot-value pair mayhave a context extracted by context extractor 804 using grammaticalpreferences 808 applied by grammatical preference applier 802. Contextextractor 804 may then output contextual slot-value pair data indicatingthe various slot-value pairs as well as the context associatedtherewith.

FIG. 8B is an illustrative flowchart of an exemplary process forextracting a content of an utterance, in accordance with variousembodiments of the present teaching. Process 850, in a non-limitingembodiment, may begin at step 852. At step 852, text data may bereceived. For instance, text data representing an utterance may bereceived by dependency parsing system 502, and in particular by lexicalanalysis system 800. At step 854, lexical analysis may be performed tothe text data using one or more grammar rules. For example, lexicalanalysis system 800 may apply grammar rule(s) 806 to the text data. Atstep 856, grammatical dependencies of the words within an utterance maybe determined. For instance, lexical analysis system 800 may performlexical analysis using grammar rule(s) 806 to identify a grammaticaldependency associated with each word in the utterance. The grammaticaldependencies may include, for example, nominal subjects, direct objects,and nominal passive subjects. Additionally, an action/verb may also beidentified.

At step 858, one or more grammatical preferences may be applied. Forexample, grammar preferences 808 may be applied to the words in theutterance, based on the grammatical dependencies, using grammaticalpreference applier 802. At step 860, the context of the utterance may beextracted. For example, context extractor 804 may extract the context ofa value, or values, within an utterance based on the grammar preferencesapplied to the words and grammatical dependencies associated with atleast some of those words. At step 862, the utterance's context may beoutput from dependency parsing system 502.

FIG. 9A is an illustrative diagram of an exemplary de-lexicalizationsystem, in accordance with various embodiments of the present teaching.De-lexicalization system 504, in the illustrative embodiment, mayinclude a variable slot intent identifier 900, a multi-value slotidentifier 902, a numeric slot identifier 904, a multi-value/numericslot replacer 906, and a data structure updater 916. Each of variableslot intent identifier 900, multi-value slot identifier 902, numericslot identifier 904, multi-value/numeric slot replacer 906, and datastructure updater 916 may include one or more computer programs storedwithin memory 204 of variable slot update system 210, which, uponexecution by processor(s) 202 thereof, cause one or more functionalitiesassociated with those components to be performed. In some embodiments,de-lexicalization system 504 may assist in recognizing a type of updateto be performed, as will be described in greater detail below.

Variable slot intent identifier 900 may, in some embodiments, beconfigured to identify whether an intent is associated with one or morevariable slots. Intent information, as output by language understandingsystem 200, may indicate an intent determined to be associated with aparticular utterance. Based on that intent, a domain may be identifiedwith which the intent is associated. Variable slot update system 210,and in particular de-lexicalization system 504, may, in someembodiments, be configured to determine whether the slots associatedwith that intent/domain that was identified by language understandingsystem 200 may include one or more variable slots. A variable slot, asdescribed herein, may correspond to a slot that is capable of taking onmultiple values and/or an adjustable value (e.g., a value that may beincreased or decreased).

Variable slot intent identifier 900 may, upon receipt of the intentinformation, access variable slot intents 910 to determine whether thatintent is determined to include one or more variable slots. For example,consider the restaurant domain. The restaurant domain may include one ormore intents, such as an intent to make a reservation, an intent to addguests to a reservation, an intent to modify a number of guestsassociated with, and so on. Some of these intents may be determined byconversation management system 140, based on dialogue rules storedwithin dialogue rules database 170, to include multiple slots.Therefore, if the intent information output by language understandingsystem 200 indicates an intent and domain associated with a particularutterance corresponds to one of the previously classified intents havingone or more variable slots, then variable slot intent identifier 900 mayrecognize that this particular utterance may include one or morevariable slots.

Multi-value slot identifier 902 may be configured to receive anindication from variable slot intent identifier 900 that indicates thata particular utterance may include one or more variable slots.Furthermore, multi-value slot identifier 902 may receive slot-value pairdata produced by language understanding system 200. Based on theindication and data received, multi-value slot identifier 902 maydetermine whether any of the slots correspond to multi-value slots.

In some embodiments, multi-value slot identifier 902 may employ one ormore multi-value slot types 912 to identify the types of multi-valueslots that may be included within an utterance. The types of multi-valueslots 912 may be based on the slot-value pair data, representing the oneor more slot-value pairs included within the utterance, as well as theintent associated with that utterance and the domain with which thatdomain corresponds. For example, in the case of an intent associatedwith the restaurant domain, some multi-value slots may include guestnames (e.g., the “PName” slot) and menu items. Therefore, if theslot-value pair data indicates that a slot from the utterance includes a“Name” slot, then multi-value slot identifier 902 may identify that thisslot may correspond to a multi-value slot, such as a “PName” slot.

Numeric slot identifier 904, which may also be referred to hereininterchangeably as an adjustable slot identifier, may be configured toreceive an indication from variable slot intent identifier 900 thatindicates that a particular utterance may include one or more variableslots. Furthermore, numeric slot identifier 904 may also receiveslot-value pair data produced by language understanding system 200.Based on the indication and data received, numeric slot identifier 904may determine whether any of the slots correspond to numeric slots,which may also be referred to herein interchangeably as adjustableslots.

In some embodiments, numeric slot identifier 904 may employ one or morenumeric slot types 914, which may also be referred to hereininterchangeably as adjustable slot types, to identify the types ofadjustable slots that may be included within an utterance. The types ofadjustable/numeric slots 914 may be based on the slot-value pair data,representing the one or more slot-value pairs included within theutterance, as well as the intent associated with that utterance and thedomain with which that domain corresponds. For example, in the case ofthe intent associated with the restaurant domain, someadjustable/numeric slots may include number of guests (e.g., the“RNumGuest” slot). Therefore, if the slot-value pair data indicates thata slot from the utterance includes a “Number of Guests” slot, thennumeric slot identifier 904 may identify that this slot may correspondto a numeric/adjustable slot, such as a “RNumGuest” slot.

Multi-value/Numeric slot replacer 906, which may also be referred toherein interchangeably as multi-value/adjustable slot replacer, may beconfigured to generate an instruction to have a data structureassociated with the slot-value pair(s) be changed to now include theappropriate variable slot(s). For example, if multi-value slotidentifier 902 determines that one of the slots from the slot-value pairdata should be changed to a multi-value slot, multi-value/numeric slotreplacer 906 may generate the instruction to replace that slot with amulti-value slot. Multi-value/numeric slot replacer 906 may also beconfigured to identify the data structure representing a particular dataobject based on the estimated intent of the utterance. For example, ifthe utterance corresponds to adding one or more names to a reservation,multi-value/numeric slot replacer 906 may identify that the datastructure which with the utterance corresponds represents a data objectassociated with a reservation. Therefore, replacer 906 may identify thedata structure representing the reservation data object appropriate forthe utterance (e.g., based on a previous utterance received from userdevice 110, user information associated with user device 110, etc.), inorder to properly determine which slot in the data structure is to beupdated to now be a variable slot.

Data structure updater 916 may be configured to perform the update tothe data structure by assigning one or more values to the data structurehaving the variable slot form. For example, if the utterance is “AddJack to the reservation,” then the update may be to change the datastructure such that the “Name” slot now becomes the multi-value slot“PName,” and then add the value “Jack” to the multi-value slot. Datastructure updater 916 may then output the data structure update, whichmay cause the data structure—which may be stored within memory 204 ofvariable slot update system 210—to be updated accordingly.

FIG. 9B is an illustrative flowchart of an exemplary processor forupdating a data structure, in accordance with various embodiments of thepresent teaching. Process 950, in a non-limiting embodiment, may beginat step 952. At step 952, intent information may be received. At step954, an intent type may be determined. For instance, variable slotidentifier 900 may determine whether the intent information receivedindicates that an utterance's intent is associated with a variable slotintent, including one or more variable slots.

At step 956, slot-value pair data may be received. At step 958, adetermination may be made as to whether the utterance includes one ormore multi-value slots. For instance, multi-value slot identifier 902may determine, using multi-value slot types 912, whether the variableslot intent identified for the utterance includes one or moremulti-value slots. At step 960, a determination may be made as towhether the utterance includes one or more numeric/adjustable slots. Forinstance, numeric slot identifier 904 may determine, using numeric slottypes 914, whether the variable slot intent identified for the utteranceincludes one or more numeric slots. In some embodiments, the intent mayinclude both multi-value slots and numeric slots.

At step 962, the slots from the slot-value pair data may be replacedwith one or more multi-value slots and/or numeric/adjustable slots. Forinstance, multi-value/numeric slot replacer 906 may generate aninstruction to update a data structure corresponding to the data objectidentified based on the utterance's intent. At step 964, the datastructure may be updated. For example, the data structure may be updatedsuch that the non-variable slot (e.g., a single value slot) is replacedwith a variable slot (e.g., a multi-variable slot).

FIG. 10A is an illustrative diagram of an exemplary update determiner,in accordance with various embodiments of the present teaching. Updatedeterminer 506, in the illustrative embodiment, may include an updatetype determiner 1000, a classification score determiner 1002, an updateclassifier 1004, a variable slot value assigner 1006, and an entryupdater 1008. Each of update type determiner 1000, classification scoredeterminer 1002, update classifier 1004, variable slot value assigner1006, and entry updater 1008 may include one or more computer programsstored within memory 204 of variable slot update system 210, which, uponexecution by processor(s) 202 thereof, cause one or more functionalitiesassociated with those components to be performed.

Update type determiner 1000 may, in some embodiments, be configured todetermine a type of update that an utterance corresponds to. Forexample, based on the determined utterance context and the slot-valuepair data, update type determiner 1000 may determine whether theutterance refers to one of the pre-defined update options 1010. Updateoptions 1010 may, for example, include such updates as appending,removing, increasing, decreasing, replacing, and/or no update.

An appending type of update may correspond to an update by which a valueis appended to a particular slot. For example, looking at dialogue 300of FIG. 3A, the slot “PName,” may be appended such that data structure306 includes the values “Michelle” and “Nancy” as being associated withthe “PName” slot. A removing type of update may correspond to an updateby which a value removed from being associated with a particular slot.For example, looking at dialogue 310 of FIG. 3A, the slot “PName,” whichpreviously—in data structure 306—included the values “Michelle” and“Nancy” as being associated therewith now has the value “Nancy” removedfrom associated with the slot “PName.” An increasing type of update maycorrespond to an update by which a value associated with a particularslot is increased by a certain value. For example, looking at dialogues320 and 330 of FIGS. 3C and 3D, the slot “RNumGuest” may be increasedfrom the value “2” to the value “5” in response to utterance 332indicating that the value of slot “RNumGuest” of data structure 326 isto be updated by an amount equal to three. Conversely, a decreasing typeof update may correspond to an update by which a value associated with aparticular slot is decreased by a certain value. For example, as seen indialogue 340 of FIG. 3E, the value associated with the slot “RNumGuest”may be decreased by a value “1” from its previous value as seen withindata structure 336 based on utterance 342.

A replace type of update may correspond to a mechanism by which a valueassociated with a slot is replaced by a new value. For example, inutterance 316, there is no value assigned to the slot “RNumGuest.”However, based on the intent of utterance 322, the value of the slot“RNumGuest” may be replaced with the value “2”. No update may also be atype of update. For example between dialogues 300 and 310, there may beno value associated with the slot “RNumGuest.” Therefore, in thisscenario, no update has been performed to the data structure for slot“RNumGuest.”

Classification score determiner 1002 may be configured to determine aclassification score for the type of update determined by update typedeterminer 1000. For example, using scoring models 1012, classificationscore determiner 1002 may calculate a score associated with each intenthypothesis' corresponding type of update. Based on the classificationscore, a highest scored context/intent for an utterance may be selectedas the appropriate intent/context for that utterance.

Update classifier 1004 may be configured to determine a classificationassociated with an utterance based on the utterance's context andslot-value pair data. For example, using slot replacement rules 1014,update classifier 1004 may specify how a particular utterance may beclassified to a particular type of update. In some embodiments, updateclassifier 1004 may work with de-lexicalization system 504 to adapt andlearn slot replacement rules 1014 for updating a slot with one or morevariable slots, as well as classifying an update associated with a slot.For example, referring back to FIG. 9A, de-lexicalization system 504 mayidentify when a sentence structure associated with an intent that isreplaced with variable slots matches to a certain confidence levelanother sentence structure. For example, consider the utterances “AddJohn and Jack to the invitation,” and “Add a drink and sandwich to theorder.” De-lexicalization system 504 may replace the slots of the twoutterances such that they respectively take the forms, “Add{Multi-Value} and {Multi-Value} to the invitation,” and “Add a{Multi-Value} and a {Multi-Value} to my order.” Since both utterancestake on a similar format when de-lexicalized, update classifier 1004 maytrain slot replacement rules 1014 to look for formats of similar typesto known sentence structures in order to identify variable slots.

Furthermore, considering the example above again, update classifier 1004may recognize when two utterances, associated with two differentdomains, have a similar format. In this scenario, update classifier 1004may train slot replacement rules 1014 to look across multiple domainsand train data for identifying variable slots in one domain based on theanalysis/recognition of variable slots in another domain. This techniquemay be particularly useful when generating training data to be used bycontext determiner 610. For example, if a first and second slot are bothof a first slot type (e.g., correspond to a first entity type), buttraining data for the first slot only exists, because of thesimilarities between the slots, additional training data may begenerated for the second slot.

Variable slot value assigner 1006 may, in some embodiments, beconfigured to assign a value to a variable slot based on the type ofupdate determined and the slot value. For example, variable slotassigner 1006 may generate an instruction to append a value to a slotincluded within a data structure representing a data object, remove avalue from being associated with a slot included within a data structurerepresenting a data object, increase a value of a slot by a particularamount in the data structure, decrease a value of a slot by a particularamount in the data structure, replace a value associated with a slot ina data structure by a new value, and/or perform no change to the valueassociated with a slot (if any) in a data structure. Entry updater 1008may be configured to generate an output the data structure entry updatesuch that the data structure will be updated based on the type ofupdate, the initial value associated with a particular slot, and a newvalue to be associated with that slot.

FIG. 10B is an illustrative flowchart of an exemplary process forupdating an entry in a data structure, in accordance with variousembodiments of the present teaching. Process 1050, in a non-limitingembodiment, may begin at step 1052. At step 1052, slot-value pair datamay be received. At step 1054, a context of an utterance may bereceived. At step 1056, a type of update to be performed to an entry ina data structure representing a data object may be determined. Forinstance, update type determiner 1000 may determine, based on theutterance's context and the slot-value pair data, a type of update orupdates from update options 1010 with which to be performed.

At step 1056, a classifier score may be computed. The classifier scoremay, in some embodiments, be computed by classification score determiner1002 using one or more scoring model(s) 1012. Classification scoredeterminer 1002, for instance, may determine a classification score foreach intent hypothesis, such that each intent hypothesis's correspondingtype of update is scored. Thus, in some embodiments, a top scored typeof update may be employed, and/or a top scored intent may be selected.

At step 1060, a value assignment for a variable slot, or slots, may bedetermined. For instance, variable slot value assigner 1006 maydetermine the values to be assigned to a particular slot based on theupdate to that slot to be performed. At step 1062, an entry in a datastructure may be updated to include the newly assigned value or values.For example, entry updater 1008 may update, or cause the update, to thedata structure to be performed.

FIG. 11A is an illustrative diagram of an exemplary response generationsystem, in accordance with various embodiments of the present teaching.Response generation system 220, in the illustrative embodiment, mayinclude an update response selector 1100, an output text generator 1102,and a text-to-speech (“TTS”) system 1104. Each of update responseselector 1100, output text generator 1102, and TTS system 1104 mayinclude one or more computer programs stored within memory 204 ofresponse generation system 220, which, upon execution by processor(s)202 thereof, cause one or more functionalities associated with thosecomponents to be performed.

Update response selector 1100 may be configured to a select a responseto be output to user 102 via user device 110. In some embodiments, theresponse selected may be one of response models 1106. For instance,depending on the utterance's intent, the type of update to be performed,and the domain, a particular response for an utterance may be selected.As an illustrative example, if the utterance is “{Action} {Name} to{Object} (e.g., “Add Jack to my reservation”) then the response selectedmay be of the form “Ok. {Name} {Action} to {Object}” (e.g., “Ok. Jack isadded to your reservation”). In some embodiments, response model(s) 1106may work with update response selector 1100 to modify a tense of one ormore words. For example, if the utterance uses a present tense of averb, then the response may include a past tense version of the verb,indicating that the action has been performed.

Output text generator 1102 may be configured, in some embodiments, togenerate output text representing the response. The output text may bemodeled using one or more text model(s) 1108. For example, text model(s)1108 may include sentence/grammar rules to facilitate coherent sentenceformation for the output text. In some embodiments, after generating theoutput text, output text generator 1102 may output the text datarepresenting the response to user device 110 (e.g., response 308).

TTS system 1104, in some embodiments, may be configured to generateoutput audio data representing one or more computer-generated utterancesand/or recordings of speech. The audio data may be generated based on anaudio message to be output to user 102 via user device 110. TTS system1104 may employ TTS model(s) 1110 to specify how to convert particulartext to speech, including computer generated renderings of phonemes andwords. In some embodiments, TTS system 1104 may receive the text datafrom output text generator 1102, if the output response is to includeaudio. For example, update response selector 1100 may select an audioresponse as a type of response from response model(s) 1106 ifnecessitated by the updater information and/or utterance. Persons ofordinary skill in the art will recognize that not all responses may beaudible, and the aforementioned is merely illustrative. TTS system 1104may be configured to output the audio data representing the response inaddition to, or instead of, the text data. The audio data, for example,may be provided to user device 110 and output thereby.

FIG. 11B is an illustrative flowchart of an exemplary process forgenerating output data, in accordance with various embodiments of thepresent teaching. Process 1150 may, in a non-limiting embodiment, beginat step 1152. At step 1152, update information may be received. Theupdate information may indicate a type of update that may have beenperformed by variable slot update system 210. At step 1154, a responsefor the update may be determined. For example, update response selector1100 may select a response from response models 1106 based on thereceived update information. In some embodiments, update responseselector 1100 may select a response to include text and/or audio to beoutput to user device 110.

At step 1156, text data representing the response may be generated. Forinstance, output text generator 1102 may generate text data representedthe selected response using text models 1108. At step 1158, the textdata may be output to user device 110 from response generation system220. At step 1160, audio data representing the text data and/or anyother suitable audio may be generated. For instance, TTS system 1104 maygenerate audio data representing the text data generated by output textgenerator 1102 using TTS model(s) 1110. At step 1162, the audio data maybe output to user device 110. In some embodiments, if no audio data isdetermined to be needed for the response, then process 1150 may end atstep 1159.

FIG. 12 is an illustrative diagram of an exemplary mobile devicearchitecture that may be used to realize a specialized systemimplementing the present teaching in accordance with variousembodiments. In this example, the user device on which the conversationmanagement systems and methods is implemented corresponds to a mobiledevice 1200, including, but is not limited to, a smart phone, a tablet,a music player, a handled gaming console, a global positioning system(GPS) receiver, and a wearable computing device (e.g., eyeglasses, wristwatch, etc.), or in any other form factor. Mobile device 1200 mayinclude one or more central processing units (“CPUs”) 1240, one or moregraphic processing units (“GPUs”) 1230, a display 1220, a memory 1260, acommunication platform 1210, such as a wireless communication module,storage 12690, and one or more input/output (I/O) devices 1240. Anyother suitable component, including but not limited to a system bus or acontroller (not shown), may also be included in the mobile device 1200.As shown in FIG. 12 a mobile operating system 1270 (e.g., iOS, Android,Windows Phone, etc.), and one or more applications 1280 may be loadedinto memory 1260 from storage 1290 in order to be executed by the CPU1240. The applications 1280 may include a browser or any other suitablemobile apps for carrying out intelligent conversation management onmobile device 1200. User interactions with the content may be achievedvia the I/O devices 1240 and provided to the conversation managementsystem 140 via network(s) 120.

To implement various modules, units, and their functionalities describedin the present disclosure, computer hardware platforms may be used asthe hardware platform(s) for one or more of the elements describedherein (e.g., conversation management system 140). The hardwareelements, operating systems and programming languages of such computersare conventional in nature, and it is presumed that those skilled in theart are adequately familiar therewith to adapt those technologies toappropriate settings as described herein. A computer with user interfaceelements may be used to implement a personal computer (PC) or other typeof work station or terminal device, although a computer may also act asa server if appropriately programmed. It is believed that those skilledin the art are familiar with the structure, programming and generaloperation of such computer equipment and as a result the drawings shouldbe self-explanatory.

FIG. 13 is an illustrative diagram of an exemplary computing devicearchitecture that may be used to realize a specialized systemimplementing the present teaching in accordance with variousembodiments. Such a specialized system incorporating the presentteaching has a functional block diagram illustration of a hardwareplatform, which includes user interface elements. The computer may be ageneral purpose computer or a special purpose computer. Both can be usedto implement a specialized system for the present teaching. Thiscomputer 1300 may be used to implement any component of intelligentconversation management techniques, as described herein. For example,the conversation management system as described herein may beimplemented on a computer such as computer 1300, via its hardware,software program, firmware, or a combination thereof. Although only onesuch computer is shown, for convenience, the computer functions relatingto fraudulent network detection as described herein may be implementedin a distributed fashion on a number of similar platforms, to distributethe processing load.

Computer 1300, for example, includes COM ports 1350 connected to andfrom a network connected thereto to facilitate data communications.Computer 1300 also includes a central processing unit (CPU) 1320, in theform of one or more processors, for executing program instructions. Theexemplary computer platform includes an internal communication bus 1310,program storage and data storage of different forms (e.g., disk 1370,read only memory (ROM) 1330, or random access memory (RAM) 740), forvarious data files to be processed and/or communicated by computer 1300,as well as possibly program instructions to be executed by CPU 1320.Computer 1300 also includes an I/O component 1360, supportinginput/output flows between the computer and other components thereinsuch as user interface elements 1380. Computer 1300 may also receiveprogramming and data via network communications.

Hence, aspects of the methods of detecting fraudulent networks and/orother processes, as outlined above, may be embodied in programming.Program aspects of the technology may be thought of as “products” or“articles of manufacture” typically in the form of executable codeand/or associated data that is carried on or embodied in a type ofmachine readable medium. Tangible non-transitory “storage” type mediainclude any or all of the memory or other storage for the computers,processors or the like, or associated modules thereof, such as varioussemiconductor memories, tape drives, disk drives and the like, which mayprovide storage at any time for the software programming.

All or portions of the software may at times be communicated through anetwork such as the Internet or various other telecommunicationnetworks. Such communications, for example, may enable loading of thesoftware from one computer or processor into another, for example, inconnection with an intelligent conversation management system. Thus,another type of media that may bear the software elements includesoptical, electrical and electromagnetic waves, such as used acrossphysical interfaces between local devices, through wired and opticallandline networks and over various air-links. The physical elements thatcarry such waves, such as wired or wireless links, optical links or thelike, also may be considered as media bearing the software. As usedherein, unless restricted to tangible “storage” media, terms such ascomputer or machine “readable medium” refer to any medium thatparticipates in providing instructions to a processor for execution.

Hence, a machine-readable medium may take many forms, including but notlimited to, a tangible storage medium, a carrier wave medium or physicaltransmission medium. Non-volatile storage media include, for example,optical or magnetic disks, such as any of the storage devices in anycomputer(s) or the like, which may be used to implement the system orany of its components as shown in the drawings. Volatile storage mediainclude dynamic memory, such as a main memory of such a computerplatform. Tangible transmission media include coaxial cables; copperwire and fiber optics, including the wires that form a bus within acomputer system. Carrier-wave transmission media may take the form ofelectric or electromagnetic signals, or acoustic or light waves such asthose generated during radio frequency (RF) and infrared (IR) datacommunications. Common forms of computer-readable media thereforeinclude for example: a floppy disk, a flexible disk, hard disk, magnetictape, any other magnetic medium, a CD-ROM, DVD or DVD-ROM, any otheroptical medium, punch cards paper tape, any other physical storagemedium with patterns of holes, a RAM, a PROM and EPROM, a FLASH-EPROM,any other memory chip or cartridge, a carrier wave transporting data orinstructions, cables or links transporting such a carrier wave, or anyother medium from which a computer may read programming code and/ordata. Many of these forms of computer readable media may be involved incarrying one or more sequences of one or more instructions to a physicalprocessor for execution.

Those skilled in the art will recognize that the present teachings areamenable to a variety of modifications and/or enhancements. For example,although the implementation of various components described above may beembodied in a hardware device, it may also be implemented as a softwareonly solution—e.g., an installation on an existing server. In addition,the conversation management techniques as disclosed herein may beimplemented as a firmware, firmware/software combination,firmware/hardware combination, or a hardware/firmware/softwarecombination.

While the foregoing has described what are considered to constitute thepresent teachings and/or other examples, it is understood that variousmodifications may be made thereto and that the subject matter disclosedherein may be implemented in various forms and examples, and that theteachings may be applied in numerous applications, only some of whichhave been described herein. It is intended by the following claims toclaim any and all applications, modifications and variations that fallwithin the true scope of the present teachings.

What is claimed is:
 1. A method for modifying a slot value implementedon a machine comprising at least one processor, memory, and acommunication platform connected to a network, the method comprising:determining an intent based on a first utterance, wherein a firstslot-value pair is obtained for the first utterance based on the intent,the first slot-value pair comprising a first slot and a first valueassociated with the first slot; identifying a second value associatedwith the first slot, the second value being identified from a secondutterance that was previously received; determining, based on the intentand the first slot, a type of update to be performed with respect to thesecond value; and updating the second value based on the first value andthe type of update.
 2. The method of claim 1, wherein the type of updateto be performed comprises one of: appending a value to be associatedwith the first slot; removing a value from being associated with thefirst slot; increasing a value associated with the first slot; anddecreasing a value associated with the first slot.
 3. The method ofclaim 1, wherein updating comprises: determining that the type of updateassociated with the intent comprises appending; identifying a datastructure corresponding to the intent, the data structure having thesecond value stored as being associated with the first slot; andmodifying the data structure such that the first value and the secondvalue are associated with the first slot.
 4. The method of claim 1,wherein updating comprises: determining that the type of updateassociated with the intent comprises removing; identifying a datastructure corresponding to the intent, the data structure having thesecond value stored as being associated with the first slot; andmodifying the data structure such that the first value is removed fromassociation with the first slot, wherein the first value was previouslyidentified as being associated with the first slot from a previousutterance.
 5. The method of claim 1, wherein updating comprises:determining that the type of update associated with the intent comprisesincreasing; identifying a data structure corresponding to the intent,the data structure having the second value stored as being associatedwith the first slot; and modifying the data structure such that a valueassociated with the first slot is equal to a sum of the first value andthe second value.
 6. The method of claim 1, wherein updating comprises:determining that the type of update associated with the intent comprisesdecreasing; identifying a data structure corresponding to the intent,the data structure having the second value stored as being associatedwith the first slot; and modifying the data structure such that a valueassociated with the first slot is equal to a difference between thesecond value and the first value.
 7. The method of claim 1, whereindetermining the intent comprises: generating a classification score forthe first utterance by comparing a vector representation of the firstutterance comprising the first slot-value pair to a plurality of trainedintent vectors each associated within one of a plurality of types ofupdates; and determining that the classification score is greater thanor equal to a confidence threshold indicating that the vectorrepresentation matches the type of update, the type of update being oneof the plurality of types of updates.
 8. A non-transitorycomputer-readable medium comprising instructions for modifying a slotvalue, wherein the instructions, when executed by at least one processorof a computing device, cause the computing device to: determine anintent based on a first utterance, wherein a first slot-value pair isobtained for the first utterance based on the intent, the firstslot-value pair comprising a first slot and a first value associatedwith the first slot; identify a second value associated with the firstslot, the second value being identified from a second utterance that waspreviously received; determine, based on the intent and the first slot,a type of update to be performed with respect to the second value; andupdate the second value based on the first value and the type of update.9. The non-transitory computer-readable medium of claim 8, wherein thetype of update to be performed comprises one of: appending a value to beassociated with the first slot; removing a value from being associatedwith the first slot; increasing a value associated with the first slot;and decreasing a value associated with the first slot.
 10. Thenon-transitory computer-readable medium of claim 8, wherein theinstructions comprising updating, when executed by the at least oneprocessor, further cause the at least one processor to: determine thatthe type of update associated with the intent comprises appending;identify a data structure corresponding to the intent, the datastructure having the second value stored as being associated with thefirst slot; and modify the data structure such that the first value andthe second value are associated with the first slot.
 11. Thenon-transitory computer-readable medium of claim 8, wherein theinstructions comprising updating, when executed by the at least oneprocessor, further cause the at least one processor to: determine thatthe type of update associated with the intent comprises removing;identify a data structure corresponding to the intent, the datastructure having the second value stored as being associated with thefirst slot; and modify the data structure such that the first value isremoved from association with the first slot, wherein the first valuewas previously identified as being associated with the first slot from aprevious utterance.
 12. The non-transitory computer-readable medium ofclaim 8, wherein the instructions comprising updating, when executed bythe at least one processor, further cause the at least one processor to:determine that the type of update associated with the intent comprisesincreasing; identify a data structure corresponding to the intent, thedata structure having the second value stored as being associated withthe first slot; and modify the data structure such that a valueassociated with the first slot is equal to a sum of the first value andthe second value.
 13. The non-transitory computer-readable medium ofclaim 8, wherein the instructions comprising updating, when executed bythe at least one processor, further cause the at least one processor to:determine that the type of update associated with the intent comprisesdecreasing; identify a data structure corresponding to the intent, thedata structure having the second value stored as being associated withthe first slot; and modify the data structure such that a valueassociated with the first slot is equal to a difference between thesecond value and the first value.
 14. The non-transitorycomputer-readable medium of claim 8, wherein the instructions comprisingdetermining the intent, when executed by the at least one processor,cause the at least one processor to: generate a classification score forthe first utterance by comparing a vector representation of the firstutterance comprising the first slot-value pair to a plurality of trainedintent vectors each associated within one of a plurality of types ofupdates; and determine that the classification score is greater than orequal to a confidence threshold indicating that the vectorrepresentation matches the type of update, the type of update being oneof the plurality of types of updates.
 15. A system for modifying a slotvalue, the system comprising: memory; and at least one processoroperable to: determine an intent based on a first utterance, wherein afirst slot-value pair is obtained for the first utterance based on theintent, the first slot-value pair comprising a first slot and a firstvalue associated with the first slot; identify a second value associatedwith the first slot, the second value being identified from a secondutterance that was previously received; determine, based on the intentand the first slot, a type of update to be performed with respect to thesecond value; and update the second value based on the first value andthe type of update.
 16. The system of claim 15, wherein updatingcorresponds to the at least one processor being operable to: determinethat the type of update associated with the intent comprises appending;identify a data structure corresponding to the intent, the datastructure having the second value stored as being associated with thefirst slot; and modify the data structure such that the first value andthe second value are associated with the first slot.
 17. The system ofclaim 15, wherein updating corresponds to the at least one processorbeing operable to: determine that the type of update associated with theintent comprises removing; identify a data structure corresponding tothe intent, the data structure having the second value stored as beingassociated with the first slot; and modify the data structure such thatthe first value is removed from association with the first slot, whereinthe first value was previously identified as being associated with thefirst slot from a previous utterance.
 18. The system of claim 15,wherein updating corresponds to the at least one processor beingoperable to: determine that the type of update associated with theintent comprises increasing; identify a data structure corresponding tothe intent, the data structure having the second value stored as beingassociated with the first slot; and modify the data structure such thata value associated with the first slot is equal to a sum of the firstvalue and the second value.
 19. The system of claim 15, wherein updatingcorresponds to the at least one processor being operable to: determinethat the type of update associated with the intent comprises decreasing;identify a data structure corresponding to the intent, the datastructure having the second value stored as being associated with thefirst slot; and modify the data structure such that a value associatedwith the first slot is equal to a difference between the second valueand the first value.
 20. The system of claim 15, wherein the intentbeing determined comprises the at least one processor being operable to:generate a classification score for the first utterance by comparing avector representation of the first utterance comprising the firstslot-value pair to a plurality of trained intent vectors each associatedwithin one of a plurality of types of updates; and determine that theclassification score is greater than or equal to a confidence thresholdindicating that the vector representation matches the type of update,the type of update being one of the plurality of types of updates.